You are here

public function ContentCrudEvent::__construct in Tome 8

Constructs a CollectPathsEvent object.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $content: Content object.

File

modules/tome_sync/src/Event/ContentCrudEvent.php, line 26

Class

ContentCrudEvent
Wraps a content event for listeners.

Namespace

Drupal\tome_sync\Event

Code

public function __construct(ContentEntityInterface $content) {
  $this->content = $content;
}