You are here

public function LanguageHierarchyConfigEventSubscriber::onConfigImport in Language Hierarchy 2.x

Same name and namespace in other branches
  1. 8 src/EventSubscriber/LanguageHierarchyConfigEventSubscriber.php \Drupal\language_hierarchy\EventSubscriber\LanguageHierarchyConfigEventSubscriber::onConfigImport()

This method is called when the config.importer.import event is dispatched.

Parameters

\Symfony\Component\EventDispatcher\Event $event: The config import event.

File

src/EventSubscriber/LanguageHierarchyConfigEventSubscriber.php, line 22

Class

LanguageHierarchyConfigEventSubscriber
Class LanguageHierarchyConfigEventSubscriber.

Namespace

Drupal\language_hierarchy\EventSubscriber

Code

public function onConfigImport(Event $event) {
  language_hierarchy_update_priorities();
}