EntityDefinitionUpdateManager

Manages entity definition updates.

Hierarchy

File

core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php, line 14

Namespace

Drupal\Core\Entity

Members

Name Modifiers Type Description
EntityDefinitionUpdateManager::$entityManager protected property The entity manager service.
EntityDefinitionUpdateManager::applyUpdates public function Applies all the detected valid changes. Overrides EntityDefinitionUpdateManagerInterface::applyUpdates
EntityDefinitionUpdateManager::doEntityUpdate protected function Performs an entity type definition update.
EntityDefinitionUpdateManager::doFieldUpdate protected function Performs a field storage definition update.
EntityDefinitionUpdateManager::getChangeList protected function Gets a list of changes to entity type and field storage definitions.
EntityDefinitionUpdateManager::getChangeSummary public function Gets a human readable summary of the detected changes. Overrides EntityDefinitionUpdateManagerInterface::getChangeSummary
EntityDefinitionUpdateManager::getEntityType public function Returns an entity type definition ready to be manipulated. Overrides EntityDefinitionUpdateManagerInterface::getEntityType
EntityDefinitionUpdateManager::getFieldStorageDefinition public function Returns a field storage definition ready to be manipulated. Overrides EntityDefinitionUpdateManagerInterface::getFieldStorageDefinition
EntityDefinitionUpdateManager::installEntityType public function Installs a new entity type definition. Overrides EntityDefinitionUpdateManagerInterface::installEntityType
EntityDefinitionUpdateManager::installFieldStorageDefinition public function Installs a new field storage definition. Overrides EntityDefinitionUpdateManagerInterface::installFieldStorageDefinition
EntityDefinitionUpdateManager::needsUpdates public function Checks if there are any definition updates that need to be applied. Overrides EntityDefinitionUpdateManagerInterface::needsUpdates
EntityDefinitionUpdateManager::requiresEntityStorageSchemaChanges protected function Checks if the changes to the entity type requires storage schema changes.
EntityDefinitionUpdateManager::requiresFieldStorageSchemaChanges protected function Checks if the changes to the storage definition requires schema changes.
EntityDefinitionUpdateManager::uninstallEntityType public function Uninstalls an entity type definition. Overrides EntityDefinitionUpdateManagerInterface::uninstallEntityType
EntityDefinitionUpdateManager::uninstallFieldStorageDefinition public function Uninstalls a field storage definition. Overrides EntityDefinitionUpdateManagerInterface::uninstallFieldStorageDefinition
EntityDefinitionUpdateManager::updateEntityType public function Applies any change performed to the passed entity type definition. Overrides EntityDefinitionUpdateManagerInterface::updateEntityType
EntityDefinitionUpdateManager::updateFieldStorageDefinition public function Applies any change performed to the passed field storage definition. Overrides EntityDefinitionUpdateManagerInterface::updateFieldStorageDefinition
EntityDefinitionUpdateManager::__construct public function Constructs a new EntityDefinitionUpdateManager.
EntityDefinitionUpdateManagerInterface::DEFINITION_CREATED constant Indicates that a definition has just been created.
EntityDefinitionUpdateManagerInterface::DEFINITION_DELETED constant Indicates that a definition has just been deleted.
EntityDefinitionUpdateManagerInterface::DEFINITION_UPDATED constant Indicates that a definition has changes.
StringTranslationTrait::$stringTranslation protected property The string translation service.
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use.
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.
doc_Drupal
2016-10-29 09:04:59
Comments
Leave a Comment

Please login to continue.