public function InitialValuesEvent::__construct in Address 8
Constructs a new InitialValuesEvent object.
Parameters
array $initial_values: The initial values.
\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition.
File
- src/
Event/ InitialValuesEvent.php, line 40
Class
- InitialValuesEvent
- Defines the initial values event.
Namespace
Drupal\address\EventCode
public function __construct(array $initial_values, FieldDefinitionInterface $field_definition) {
$this->initialValues = $initial_values;
$this->fieldDefinition = $field_definition;
}