function UpdateDataSubscriber::getSubscribedEvents

File

core/modules/package_manager/src/EventSubscriber/UpdateDataSubscriber.php, line 39

Class

UpdateDataSubscriber
Clears stale update data once staged changes have been applied.

Namespace

Drupal\package_manager\EventSubscriber

Code

public static function getSubscribedEvents() : array {
    return [
        PostApplyEvent::class => [
            'clearData',
            1000,
        ],
    ];
}

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