function RestConfigSubscriber::getSubscribedEvents

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.