public function ContentSyncEvents::onContentSyncCreate in Content Synchronization 8
Same name and namespace in other branches
- 8.2 src/EventSubscriber/ContentSyncEvents.php \Drupal\content_sync\EventSubscriber\ContentSyncEvents::onContentSyncCreate()
- 3.0.x src/EventSubscriber/ContentSyncEvents.php \Drupal\content_sync\EventSubscriber\ContentSyncEvents::onContentSyncCreate()
This method is called whenever the EntityTypeEvents::CREATE event is dispatched.
Parameters
\Drupal\Core\Entity\EntityTypeEvent $event: The Event to process.
File
- src/
EventSubscriber/ ContentSyncEvents.php, line 23
Class
- ContentSyncEvents
- Create a content subscriber.
Namespace
Drupal\content_sync\EventSubscriberCode
public function onContentSyncCreate(EntityTypeEvent $event) {
kint($event);
\Drupal::logger('content_sync')
->notice("Create Event");
}