public function ContentCrudEvent::getContent in Tome 8
Gets the content object.
Return value
\Drupal\Core\Entity\ContentEntityInterface The content object that caused the event to fire.
File
- modules/
tome_sync/ src/ Event/ ContentCrudEvent.php, line 36
Class
- ContentCrudEvent
- Wraps a content event for listeners.
Namespace
Drupal\tome_sync\EventCode
public function getContent() {
return $this->content;
}