You are here

public function DataImportEvent::getContentData in YAML Content 8.2

Same name and namespace in other branches
  1. 8 src/Event/DataImportEvent.php \Drupal\yaml_content\Event\DataImportEvent::getContentData()

Gets the parsed content to populate into the field.

Return value

array The parsed content loaded from the content file to be loaded into the entity field.

File

src/Event/DataImportEvent.php, line 41

Class

DataImportEvent
Wraps a yaml content data import event for event listeners.

Namespace

Drupal\yaml_content\Event

Code

public function getContentData() {
  return $this->contentData;
}