You are here

public static function RestConfigSubscriber::getSubscribedEvents in Drupal 8

File

core/modules/rest/src/EventSubscriber/RestConfigSubscriber.php, line 49

Class

RestConfigSubscriber
A subscriber triggering a route rebuild when certain configuration changes.

Namespace

Drupal\rest\EventSubscriber

Code

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