public function FieldStorageDefinitionEvent::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Field/FieldStorageDefinitionEvent.php \Drupal\Core\Field\FieldStorageDefinitionEvent::__construct()
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 40 - Contains \Drupal\Core\Field\FieldStorageDefinitionEvent.
Class
- FieldStorageDefinitionEvent
- Defines a base class for all field storage definition events.
Namespace
Drupal\Core\FieldCode
public function __construct(FieldStorageDefinitionInterface $field_storage_definition, FieldStorageDefinitionInterface $original = NULL) {
$this->fieldStorageDefinition = $field_storage_definition;
$this->original = $original;
}