You are here

public function EntityPreSaveEvent::getContentData in YAML Content 8

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

Gets the parsed content loaded from the content file to create the entity.

Return value

array The parsed content from the file used to create the entity.

File

src/Event/EntityPreSaveEvent.php, line 60

Class

EntityPreSaveEvent
Wraps a yaml content entity pre-save event for event listeners.

Namespace

Drupal\yaml_content\Event

Code

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