You are here

public function StageFileProxySubscriber::getExcludedPaths in Background Image 2.0.x

Same name and namespace in other branches
  1. 8 src/EventSubscriber/StageFileProxySubscriber.php \Drupal\background_image\EventSubscriber\StageFileProxySubscriber::getExcludedPaths()
  2. 2.x src/EventSubscriber/StageFileProxySubscriber.php \Drupal\background_image\EventSubscriber\StageFileProxySubscriber::getExcludedPaths()

Parameters

\Drupal\stage_file_proxy\EventDispatcher\AlterExcludedPathsEvent $event:

File

src/EventSubscriber/StageFileProxySubscriber.php, line 13

Class

StageFileProxySubscriber

Namespace

Drupal\background_image\EventSubscriber

Code

public function getExcludedPaths(AlterExcludedPathsEvent $event) {
  $event
    ->addExcludedPath('/background_image/css/');
}