You are here

public function InitSubscriber::onEvent in Lightbox2 8

File

src/EventSubscriber/InitSubscriber.php, line 20
Contains \Drupal\lightbox2\EventSubscriber\InitSubscriber.

Class

InitSubscriber

Namespace

Drupal\lightbox2\EventSubscriber

Code

public function onEvent() {
  if (lightbox2_exclude_these_paths() != 1) {
    lightbox2_add_files();
  }
}