You are here

public function JsAlterEvent::setJavascript in Hook Event Dispatcher 8

Set the javascript.

Parameters

array $javascript: Javascript.

File

src/Event/Theme/JsAlterEvent.php, line 61

Class

JsAlterEvent
Class JsAlterEvent.

Namespace

Drupal\hook_event_dispatcher\Event\Theme

Code

public function setJavascript(array $javascript) {
  $this->javascript = $javascript;
}