public FieldStorageDefinitionEvent::__construct(FieldStorageDefinitionInterface $field_storage_definition, FieldStorageDefinitionInterface $original = NULL)
Constructs a new FieldStorageDefinitionEvent.
Parameters
\Drupal\Core\Field\FieldStorageDefinitionInterface $field_storage_definition: The field storage definition.
\Drupal\Core\Field\FieldStorageDefinitionInterface $original: (optional) The original field storage definition. This should be passed only when updating the storage definition.
Overrides GenericEvent::__construct
File
- core/lib/Drupal/Core/Field/FieldStorageDefinitionEvent.php, line 35
Class
- FieldStorageDefinitionEvent
- Defines a base class for all field storage definition events.
Namespace
Drupal\Core\Field
Code
public function __construct(FieldStorageDefinitionInterface $field_storage_definition, FieldStorageDefinitionInterface $original = NULL) { $this->fieldStorageDefinition = $field_storage_definition; $this->original = $original; }
Please login to continue.