You are here

public function InitSubscriber::onEvent in Javascript Timer 8

File

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

Class

InitSubscriber

Namespace

Drupal\jstimer\EventSubscriber

Code

public function onEvent() {

  // @FIXME
  // The Assets API has totally changed. CSS, JavaScript, and libraries are now
  // attached directly to render arrays using the #attached property.
  //
  //
  // @see https://www.drupal.org/node/2169605
  // @see https://www.drupal.org/node/2408597
  // drupal_add_js(variable_get('jstimer_timerjs_path', ''), 'file');
}