You are here

public static function QueryFactory::getSubscribedEvents in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php \Drupal\Core\Config\Entity\Query\QueryFactory::getSubscribedEvents()

File

core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php, line 252

Class

QueryFactory
Provides a factory for creating entity query objects for the config backend.

Namespace

Drupal\Core\Config\Entity\Query

Code

public static function getSubscribedEvents() {
  $events[ConfigEvents::SAVE][] = [
    'onConfigSave',
    128,
  ];
  $events[ConfigEvents::DELETE][] = [
    'onConfigDelete',
    128,
  ];
  return $events;
}