function FieldStorageDefinitionEventSubscriberTrait::onFieldStorageDefinitionCreate

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Field/FieldStorageDefinitionEventSubscriberTrait.php \Drupal\Core\Field\FieldStorageDefinitionEventSubscriberTrait::onFieldStorageDefinitionCreate()
  2. 10 core/lib/Drupal/Core/Field/FieldStorageDefinitionEventSubscriberTrait.php \Drupal\Core\Field\FieldStorageDefinitionEventSubscriberTrait::onFieldStorageDefinitionCreate()
  3. 11.x core/lib/Drupal/Core/Field/FieldStorageDefinitionEventSubscriberTrait.php \Drupal\Core\Field\FieldStorageDefinitionEventSubscriberTrait::onFieldStorageDefinitionCreate()
1 call to FieldStorageDefinitionEventSubscriberTrait::onFieldStorageDefinitionCreate()
FieldStorageDefinitionEventSubscriberTrait::onFieldStorageDefinitionEvent in core/lib/Drupal/Core/Field/FieldStorageDefinitionEventSubscriberTrait.php
Listener method for any field storage definition event.
1 method overrides FieldStorageDefinitionEventSubscriberTrait::onFieldStorageDefinitionCreate()
EntityTestDefinitionSubscriber::onFieldStorageDefinitionCreate in core/modules/system/tests/modules/entity_test/src/EntityTestDefinitionSubscriber.php
Reacts to the creation of a field storage definition.

File

core/lib/Drupal/Core/Field/FieldStorageDefinitionEventSubscriberTrait.php, line 59

Class

FieldStorageDefinitionEventSubscriberTrait
Helper methods for FieldStorageDefinitionListenerInterface.

Namespace

Drupal\Core\Field

Code

public function onFieldStorageDefinitionCreate(FieldStorageDefinitionInterface $storage_definition) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.