EntityManagerInterface

Provides an interface for entity type managers.

Hierarchy

Deprecated

in Drupal 8.0.0, will be removed before Drupal 9.0.0.

File

core/lib/Drupal/Core/Entity/EntityManagerInterface.php, line 13

Namespace

Drupal\Core\Entity

Members

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

Please login to continue.