AddJsCommand::$scripts
Same name in other branches
- 9 core/lib/Drupal/Core/Ajax/AddJsCommand.php \Drupal\Core\Ajax\AddJsCommand::scripts
- 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\AjaxCode
protected $scripts;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.