You are here

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

File

src/EventSubscriber/EntityImport/ContentLanguageSettings.php, line 24

Class

ContentLanguageSettings
Handles ContentLanguageSetting 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][] = 'onImportUpdate';
  return $events;
}