W3cubDocs

/Drupal 8

public function ContentEntityStorageBase::onFieldStorageDefinitionCreate

public ContentEntityStorageBase::onFieldStorageDefinitionCreate(FieldStorageDefinitionInterface $storage_definition)

Reacts to the creation of a field storage definition.

Parameters

\Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The definition being created.

Overrides FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionCreate

File

core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 144

Class

ContentEntityStorageBase
Base class for content entity storage handlers.

Namespace

Drupal\Core\Entity

Code

public function onFieldStorageDefinitionCreate(FieldStorageDefinitionInterface $storage_definition) {
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityStorageBase.php/function/ContentEntityStorageBase::onFieldStorageDefinitionCreate/8.1.x