You are here

public function FieldImportEvent::getEntity in YAML Content 8

Same name and namespace in other branches
  1. 8.2 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\Event

Code

public function getEntity() {
  return $this->entity;
}