public function FieldImportEvent::getFieldDefinition in YAML Content 8.2
Gets the field definition object for the field being populated.
Return value
\Drupal\Core\Field\FieldDefinitionInterface The field definition for the field being populated.
File
- src/
Event/ FieldImportEvent.php, line 64
Class
- FieldImportEvent
- Wraps a yaml content field import event for event listeners.
Namespace
Drupal\yaml_content\EventCode
public function getFieldDefinition() {
return $this->fieldDefinition;
}