public function EntityPreSaveEvent::getContentData in YAML Content 8.2
Same name and namespace in other branches
- 8 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\EventCode
public function getContentData() {
return $this->contentData;
}