You are here

interface EntityManagerInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/EntityManagerInterface.php \Drupal\Core\Entity\EntityManagerInterface

Provides an interface for entity type managers.

Hierarchy

Expanded class hierarchy of EntityManagerInterface

All classes that implement EntityManagerInterface

Deprecated

in Drupal 8.0.0, will be removed before Drupal 9.0.0.

160 files declare their use of EntityManagerInterface
AccountForm.php in core/modules/user/src/AccountForm.php
Contains \Drupal\user\AccountForm.
AdminNegotiator.php in core/modules/user/src/Theme/AdminNegotiator.php
Contains \Drupal\user\Theme\AdminNegotiator.
AdminPathConfigEntityConverter.php in core/lib/Drupal/Core/ParamConverter/AdminPathConfigEntityConverter.php
Contains \Drupal\Core\ParamConverter\AdminPathConfigEntityConverter.
Auth.php in core/modules/locale/tests/modules/early_translation_test/src/Auth.php
Contains \Drupal\early_translation_test\Auth.
BasicAuth.php in core/modules/basic_auth/src/Authentication/Provider/BasicAuth.php
Contains \Drupal\basic_auth\Authentication\Provider\BasicAuth.

... See full list

File

core/lib/Drupal/Core/Entity/EntityManagerInterface.php, line 18
Contains \Drupal\Core\Entity\EntityManagerInterface.

Namespace

Drupal\Core\Entity
View source
interface EntityManagerInterface extends EntityTypeListenerInterface, EntityBundleListenerInterface, FieldStorageDefinitionListenerInterface, FieldDefinitionListenerInterface, EntityTypeManagerInterface, EntityTypeRepositoryInterface, EntityTypeBundleInfoInterface, EntityDisplayRepositoryInterface, EntityFieldManagerInterface, EntityRepositoryInterface {

  /**
   * @see \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface::getLastInstalledDefinition()
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getLastInstalledDefinition($entity_type_id);

  /**
   * @see \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface::getLastInstalledFieldStorageDefinitions()
   *
   * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0.
   */
  public function getLastInstalledFieldStorageDefinitions($entity_type_id);

}

Members

Namesort descending Modifiers Type Description Overrides
CachedDiscoveryInterface::clearCachedDefinitions public function Clears static and persistent plugin definition caches. 2
CachedDiscoveryInterface::useCaches public function Disable the use of caches. 2
DiscoveryInterface::hasDefinition public function Indicates if a specific plugin definition exists. 2
EntityBundleListenerInterface::onBundleCreate public function Reacts to a bundle being created. 3
EntityBundleListenerInterface::onBundleDelete public function Reacts to a bundle being deleted. 3
EntityDisplayRepositoryInterface::clearDisplayModeInfo public function Clears the gathered display mode info. 2
EntityDisplayRepositoryInterface::getAllFormModes public function Gets the entity form mode info for all entity types. 2
EntityDisplayRepositoryInterface::getAllViewModes public function Gets the entity view mode info for all entity types. 2
EntityDisplayRepositoryInterface::getFormModeOptions public function Gets an array of form mode options. 2
EntityDisplayRepositoryInterface::getFormModeOptionsByBundle public function Returns an array of enabled form mode options by bundle. 2
EntityDisplayRepositoryInterface::getFormModes public function Gets the entity form mode info for a specific entity type. 2
EntityDisplayRepositoryInterface::getViewModeOptions public function Gets an array of view mode options. 2
EntityDisplayRepositoryInterface::getViewModeOptionsByBundle public function Returns an array of enabled view mode options by bundle. 2
EntityDisplayRepositoryInterface::getViewModes public function Gets the entity view mode info for a specific entity type. 2
EntityFieldManagerInterface::clearCachedFieldDefinitions public function Clears static and persistent field definition caches. 2
EntityFieldManagerInterface::getBaseFieldDefinitions public function Gets the base field definitions for a content entity type. 2
EntityFieldManagerInterface::getExtraFields public function Gets the "extra fields" for a bundle. 2
EntityFieldManagerInterface::getFieldDefinitions public function Gets the field definitions for a specific bundle. 2
EntityFieldManagerInterface::getFieldMap public function Gets a lightweight map of fields across bundles. 2
EntityFieldManagerInterface::getFieldMapByFieldType public function Gets a lightweight map of fields across bundles filtered by field type. 2
EntityFieldManagerInterface::getFieldStorageDefinitions public function Gets the field storage definitions for a content entity type. 2
EntityFieldManagerInterface::setFieldMap public function Sets a lightweight map of fields across bundles. 2
EntityManagerInterface::getLastInstalledDefinition Deprecated public function 1
EntityManagerInterface::getLastInstalledFieldStorageDefinitions Deprecated public function 1
EntityRepositoryInterface::getTranslationFromContext public function Gets the entity translation to be used in the given context. 2
EntityRepositoryInterface::loadEntityByConfigTarget public function Loads an entity by the config target identifier. 2
EntityRepositoryInterface::loadEntityByUuid public function Loads an entity by UUID. 2
EntityTypeBundleInfoInterface::clearCachedBundles public function Clears static and persistent bundles. 2
EntityTypeBundleInfoInterface::getAllBundleInfo public function Get the bundle info of all entity types. 2
EntityTypeBundleInfoInterface::getBundleInfo public function Gets the bundle info of an entity type. 2
EntityTypeListenerInterface::onEntityTypeCreate public function Reacts to the creation of the entity type. 4
EntityTypeListenerInterface::onEntityTypeDelete public function Reacts to the deletion of the entity type. 4
EntityTypeListenerInterface::onEntityTypeUpdate public function Reacts to the update of the entity type. 4
EntityTypeManagerInterface::createHandlerInstance public function Creates new handler instance. 2
EntityTypeManagerInterface::getAccessControlHandler public function Creates a new access control handler instance. 2
EntityTypeManagerInterface::getDefinition public function Overrides DiscoveryInterface::getDefinition 1
EntityTypeManagerInterface::getDefinitions public function Overrides DiscoveryInterface::getDefinitions 1
EntityTypeManagerInterface::getFormObject public function Creates a new form instance. 2
EntityTypeManagerInterface::getHandler public function Creates a new handler instance for a entity type and handler type. 2
EntityTypeManagerInterface::getListBuilder public function Creates a new entity list builder. 2
EntityTypeManagerInterface::getRouteProviders public function Gets all route provider instances. 2
EntityTypeManagerInterface::getStorage public function Creates a new storage instance. 2
EntityTypeManagerInterface::getViewBuilder public function Creates a new view builder instance. 2
EntityTypeManagerInterface::hasHandler public function Checks whether a certain entity type has a certain handler. 2
EntityTypeRepositoryInterface::getEntityTypeFromClass public function Gets the entity type ID based on the class that is called on. 2
EntityTypeRepositoryInterface::getEntityTypeLabels public function Builds a list of entity type labels suitable for a Form API options list. 2
FactoryInterface::createInstance public function Creates a pre-configured instance of a plugin. 5
FieldDefinitionListenerInterface::onFieldDefinitionCreate public function Reacts to the creation of a field. 3
FieldDefinitionListenerInterface::onFieldDefinitionDelete public function Reacts to the deletion of a field. 3
FieldDefinitionListenerInterface::onFieldDefinitionUpdate public function Reacts to the update of a field. 3
FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionCreate public function Reacts to the creation of a field storage definition. 4
FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete public function Reacts to the deletion of a field storage definition. 4
FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionUpdate public function Reacts to the update of a field storage definition. 4
MapperInterface::getInstance public function Gets a preconfigured instance of a plugin. 4