Search for init
Title | Object type | File name | Summary |
---|---|---|---|
EntityDefinitionUpdateManager::requiresEntityStorageSchemaChanges | function | core/ |
Checks if the changes to the entity type requires storage schema changes. |
EntityDefinitionUpdateManager::requiresFieldStorageSchemaChanges | function | core/ |
Checks if the changes to the storage definition requires schema changes. |
EntityDefinitionUpdateManager::uninstallEntityType | function | core/ |
Uninstalls an entity type definition. |
EntityDefinitionUpdateManager::uninstallFieldStorageDefinition | function | core/ |
Uninstalls a field storage definition. |
EntityDefinitionUpdateManager::updateEntityType | function | core/ |
Applies any change performed to the passed entity type definition. |
EntityDefinitionUpdateManager::updateFieldableEntityType | function | core/ |
Applies any change performed to a fieldable entity type definition. |
EntityDefinitionUpdateManager::updateFieldStorageDefinition | function | core/ |
Applies any change performed to the passed field storage definition. |
EntityDefinitionUpdateManager::__construct | function | core/ |
Constructs a new EntityDefinitionUpdateManager. |
EntityDefinitionUpdateManagerInterface | interface | core/ |
Defines an interface for managing entity definition updates. |
EntityDefinitionUpdateManagerInterface.php | file | core/ |
|
EntityDefinitionUpdateManagerInterface::applyUpdates | function | core/ |
Applies all the detected valid changes. |
EntityDefinitionUpdateManagerInterface::DEFINITION_CREATED | constant | core/ |
Indicates that a definition has just been created. |
EntityDefinitionUpdateManagerInterface::DEFINITION_DELETED | constant | core/ |
Indicates that a definition has just been deleted. |
EntityDefinitionUpdateManagerInterface::DEFINITION_UPDATED | constant | core/ |
Indicates that a definition has changes. |
EntityDefinitionUpdateManagerInterface::getChangeList | function | core/ |
Gets a list of changes to entity type and field storage definitions. |
EntityDefinitionUpdateManagerInterface::getChangeSummary | function | core/ |
Gets a human readable summary of the detected changes. |
EntityDefinitionUpdateManagerInterface::getEntityType | function | core/ |
Returns an entity type definition ready to be manipulated. |
EntityDefinitionUpdateManagerInterface::getEntityTypes | function | core/ |
Returns all the entity type definitions, ready to be manipulated. |
EntityDefinitionUpdateManagerInterface::getFieldStorageDefinition | function | core/ |
Returns a field storage definition ready to be manipulated. |
EntityDefinitionUpdateManagerInterface::installEntityType | function | core/ |
Installs a new entity type definition. |
EntityDefinitionUpdateManagerInterface::installFieldableEntityType | function | core/ |
Installs a new fieldable entity type definition. |
EntityDefinitionUpdateManagerInterface::installFieldStorageDefinition | function | core/ |
Installs a new field storage definition. |
EntityDefinitionUpdateManagerInterface::needsUpdates | function | core/ |
Checks if there are any definition updates that need to be applied. |
EntityDefinitionUpdateManagerInterface::uninstallEntityType | function | core/ |
Uninstalls an entity type definition. |
EntityDefinitionUpdateManagerInterface::uninstallFieldStorageDefinition | function | core/ |
Uninstalls a field storage definition. |
EntityDefinitionUpdateManagerInterface::updateEntityType | function | core/ |
Applies any change performed to the passed entity type definition. |
EntityDefinitionUpdateManagerInterface::updateFieldableEntityType | function | core/ |
Applies any change performed to a fieldable entity type definition. |
EntityDefinitionUpdateManagerInterface::updateFieldStorageDefinition | function | core/ |
Applies any change performed to the passed field storage definition. |
EntityDefinitionUpdateManagerTest | class | core/ |
@coversDefaultClass \Drupal\Core\Entity\EntityDefinitionUpdateManager @group Entity @group legacy |
EntityDefinitionUpdateManagerTest.php | file | core/ |
|
EntityDefinitionUpdateManagerTest::testDeprecatedApplyUpdates | function | core/ |
@expectedDeprecation Unsilenced deprecation: EntityDefinitionUpdateManagerInterface::applyUpdates() is deprecated in 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::getChangeList() and… |
EntityDefinitionUpdateTest | class | core/ |
Tests EntityDefinitionUpdateManager functionality. |
EntityDefinitionUpdateTest.php | file | core/ |
|
EntityDefinitionUpdateTest::$database | property | core/ |
The database connection. |
EntityDefinitionUpdateTest::$entityDefinitionUpdateManager | property | core/ |
The entity definition update manager. |
EntityDefinitionUpdateTest::$entityFieldManager | property | core/ |
The entity field manager. |
EntityDefinitionUpdateTest::$modules | property | core/ |
Modules to enable. |
EntityDefinitionUpdateTest::baseFieldDeleteWithExistingDataTestCases | function | core/ |
Test cases for ::testBaseFieldDeleteWithExistingData. |
EntityDefinitionUpdateTest::initialValueFromFieldTestCases | function | core/ |
Test cases for ::testInitialValueFromField. |
EntityDefinitionUpdateTest::setUp | function | core/ |
|
EntityDefinitionUpdateTest::testBaseFieldCreateDeleteWithExistingEntities | function | core/ |
Tests creating and deleting a base field if entities exist. |
EntityDefinitionUpdateTest::testBaseFieldCreateUpdateDeleteWithoutData | function | core/ |
Tests creating, updating, and deleting a base field if no entities exist. |
EntityDefinitionUpdateTest::testBaseFieldDeleteWithExistingData | function | core/ |
Tests deleting a base field when it has existing data. |
EntityDefinitionUpdateTest::testBaseFieldEntityKeyUpdateWithExistingData | function | core/ |
Tests updating a base field when it has existing data. |
EntityDefinitionUpdateTest::testBaseFieldUpdateWithExistingData | function | core/ |
Tests updating a base field when it has existing data. |
EntityDefinitionUpdateTest::testBaseFieldWithoutLabelCreateUpdateDelete | function | core/ |
Tests creating, updating, and deleting a base field with no label set |
EntityDefinitionUpdateTest::testBundleFieldCreateDeleteWithExistingEntities | function | core/ |
Tests creating and deleting a bundle field if entities exist. |
EntityDefinitionUpdateTest::testBundleFieldCreateUpdateDeleteWithoutData | function | core/ |
Tests creating, updating, and deleting a bundle field if no entities exist. |
EntityDefinitionUpdateTest::testBundleFieldDeleteWithExistingData | function | core/ |
Tests deleting a bundle field when it has existing data. |
EntityDefinitionUpdateTest::testBundleFieldUpdateWithEntityTypeSchemaUpdate | function | core/ |
Tests updating a bundle field when the entity type schema has changed. |
Pagination
- Previous page
- Page 16
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.