You are here

public function FieldImportEvent::getField in YAML Content 8

Gets the field object being populated.

Return value

\Drupal\Core\Field\FieldItemListInterface The field object 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\Event

Code

public function getField() {
  return $this->field;
}