public function EntityDefinitionUpdateManagerInterface::installFieldableEntityType in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::installFieldableEntityType()
Installs a new fieldable entity type definition.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Field\FieldStorageDefinitionInterface[] $field_storage_definitions: The entity type's field storage definitions.
1 method overrides EntityDefinitionUpdateManagerInterface::installFieldableEntityType()
- EntityDefinitionUpdateManager::installFieldableEntityType in core/
lib/ Drupal/ Core/ Entity/ EntityDefinitionUpdateManager.php - Installs a new fieldable entity type definition.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityDefinitionUpdateManagerInterface.php, line 143
Class
- EntityDefinitionUpdateManagerInterface
- Defines an interface for managing entity definition updates.
Namespace
Drupal\Core\EntityCode
public function installFieldableEntityType(EntityTypeInterface $entity_type, array $field_storage_definitions);