You are here

public function EntityImportEvent::getEntityType in YAML Content 8

Same name and namespace in other branches
  1. 8.2 src/Event/EntityImportEvent.php \Drupal\yaml_content\Event\EntityImportEvent::getEntityType()

Gets the field definition object for the field being populated.

Return value

\Drupal\Core\Entity\EntityTypeInterface The entity type object for the entity being created.

File

src/Event/EntityImportEvent.php, line 43

Class

EntityImportEvent
Wraps a yaml content field import event for event listeners.

Namespace

Drupal\yaml_content\Event

Code

public function getEntityType() {
  return $this->entityType;
}