annotate core/lib/Drupal/Core/Entity/EntityManagerInterface.php @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents af1871eacc83
children
rev   line source
Chris@0 1 <?php
Chris@0 2
Chris@0 3 namespace Drupal\Core\Entity;
Chris@0 4
Chris@0 5 use Drupal\Core\Field\FieldDefinitionListenerInterface;
Chris@0 6 use Drupal\Core\Field\FieldStorageDefinitionListenerInterface;
Chris@0 7
Chris@0 8 /**
Chris@0 9 * Provides an interface for entity type managers.
Chris@0 10 *
Chris@0 11 * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Chris@18 12 *
Chris@18 13 * @see https://www.drupal.org/node/2549139
Chris@0 14 */
Chris@0 15 interface EntityManagerInterface extends EntityTypeListenerInterface, EntityBundleListenerInterface, FieldStorageDefinitionListenerInterface, FieldDefinitionListenerInterface, EntityTypeManagerInterface, EntityTypeRepositoryInterface, EntityTypeBundleInfoInterface, EntityDisplayRepositoryInterface, EntityFieldManagerInterface, EntityRepositoryInterface {
Chris@0 16
Chris@0 17 /**
Chris@18 18 * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use
Chris@18 19 * \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface::getLastInstalledDefinition()
Chris@18 20 * instead.
Chris@0 21 *
Chris@18 22 * @see https://www.drupal.org/node/2549139
Chris@0 23 */
Chris@0 24 public function getLastInstalledDefinition($entity_type_id);
Chris@0 25
Chris@0 26 /**
Chris@18 27 * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use
Chris@18 28 * \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface::getLastInstalledFieldStorageDefinitions()
Chris@18 29 * instead.
Chris@0 30 *
Chris@18 31 * @see https://www.drupal.org/node/2549139
Chris@0 32 */
Chris@0 33 public function getLastInstalledFieldStorageDefinitions($entity_type_id);
Chris@0 34
Chris@0 35 }