function FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionCreate
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Field/FieldStorageDefinitionListenerInterface.php \Drupal\Core\Field\FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionCreate()
- 10 core/lib/Drupal/Core/Field/FieldStorageDefinitionListenerInterface.php \Drupal\Core\Field\FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionCreate()
- 11.x core/lib/Drupal/Core/Field/FieldStorageDefinitionListenerInterface.php \Drupal\Core\Field\FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionCreate()
Reacts to the creation of a field storage definition.
Parameters
\Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The definition being created.
2 methods override FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionCreate()
- FieldStorageDefinitionListener::onFieldStorageDefinitionCreate in core/
lib/ Drupal/ Core/ Field/ FieldStorageDefinitionListener.php - Reacts to the creation of a field storage definition.
- SqlContentEntityStorageSchema::onFieldStorageDefinitionCreate in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorageSchema.php - Reacts to the creation of a field storage definition.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldStorageDefinitionListenerInterface.php, line 16
Class
- FieldStorageDefinitionListenerInterface
- Defines an interface for reacting to field storage definition creation, deletion, and updates.
Namespace
Drupal\Core\FieldCode
public function onFieldStorageDefinitionCreate(FieldStorageDefinitionInterface $storage_definition);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.