You are here

public function EntityPostSaveEvent::getContentData in YAML Content 8

Same name and namespace in other branches
  1. 8.2 src/Event/EntityPostSaveEvent.php \Drupal\yaml_content\Event\EntityPostSaveEvent::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/EntityPostSaveEvent.php, line 60

Class

EntityPostSaveEvent
Wraps a yaml content entity post-save event for event listeners.

Namespace

Drupal\yaml_content\Event

Code

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