public function AttachedAssetsInterface::setSettings
public AttachedAssetsInterface::setSettings(array $settings)
Sets the JavaScript settings that are attached to the current response.
Parameters
array $settings: The needed JavaScript settings.
Return value
$this
File
- core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php, line 55
Class
- AttachedAssetsInterface
- The attached assets collection for the current response.
Namespace
Drupal\Core\AssetCode
public function setSettings(array $settings);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Asset!AttachedAssetsInterface.php/function/AttachedAssetsInterface::setSettings/8.1.x