AddJsCommand::$scripts

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Ajax/AddJsCommand.php \Drupal\Core\Ajax\AddJsCommand::scripts
  2. 10 core/lib/Drupal/Core/Ajax/AddJsCommand.php \Drupal\Core\Ajax\AddJsCommand::scripts

An array containing attributes of the scripts to be added to the page.

Type: string[]

File

core/lib/Drupal/Core/Ajax/AddJsCommand.php, line 23

Class

AddJsCommand
An AJAX command for adding JS to the page via AJAX.

Namespace

Drupal\Core\Ajax

Code

protected $scripts;

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