public function FieldStorageSubscriber::onFieldStorage in Dynamic Entity Reference 8.2
Handle a field storage event.
Parameters
\Drupal\Core\Field\FieldStorageDefinitionEvent $event: The event to process.
File
- src/
EventSubscriber/ FieldStorageSubscriber.php, line 92
Class
- FieldStorageSubscriber
- Hands off field storage events to the integer column handler.
Namespace
Drupal\dynamic_entity_reference\EventSubscriberCode
public function onFieldStorage(FieldStorageDefinitionEvent $event) {
$definition = $event
->getFieldStorageDefinition();
$this
->handleEntityType($definition
->getTargetEntityTypeId(), $definition);
}