public function FieldImportEvent::getEntity in YAML Content 8.2
Same name and namespace in other branches
- 8 src/Event/FieldImportEvent.php \Drupal\yaml_content\Event\FieldImportEvent::getEntity()
Gets the entity being populated with field data.
Return value
\Drupal\Core\Entity\EntityInterface The entity being populated with field data.
File
- src/
Event/ FieldImportEvent.php, line 54
Class
- FieldImportEvent
- Wraps a yaml content field import event for event listeners.
Namespace
Drupal\yaml_content\EventCode
public function getEntity() {
return $this->entity;
}