You are here

public static function FilterFormatEditor::getSubscribedEvents in Acquia Content Hub 8.2

File

src/EventSubscriber/EntityImport/FilterFormatEditor.php, line 19

Class

FilterFormatEditor
Handles FilterFormatEditor entity saves to apply related schema.

Namespace

Drupal\acquia_contenthub\EventSubscriber\EntityImport

Code

public static function getSubscribedEvents() {
  $events[AcquiaContentHubEvents::ENTITY_IMPORT_NEW][] = 'onImportNew';
  $events[AcquiaContentHubEvents::ENTITY_IMPORT_UPDATE][] = 'onImportNew';
  return $events;
}