function SiteConfigurationExcluder::getSubscribedEvents

File

core/modules/package_manager/src/PathExcluder/SiteConfigurationExcluder.php, line 137

Class

SiteConfigurationExcluder
Excludes site configuration files from stage directories.

Namespace

Drupal\package_manager\PathExcluder

Code

public static function getSubscribedEvents() : array {
    return [
        CollectPathsToExcludeEvent::class => 'excludeSiteConfiguration',
        PostCreateEvent::class => 'makeDefaultSiteDirectoryWritable',
        PreApplyEvent::class => 'syncDefaultSiteDirectoryPermissions',
    ];
}

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