public function AttachedAssetsInterface::setSettings in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Asset/AttachedAssetsInterface.php \Drupal\Core\Asset\AttachedAssetsInterface::setSettings()
Sets the JavaScript settings that are attached to the current response.
Parameters
array $settings: The needed JavaScript settings.
Return value
$this
1 method overrides AttachedAssetsInterface::setSettings()
- AttachedAssets::setSettings in core/
lib/ Drupal/ Core/ Asset/ AttachedAssets.php - Sets the JavaScript settings that are attached to the current response.
File
- core/
lib/ Drupal/ Core/ Asset/ AttachedAssetsInterface.php, line 59 - Contains \Drupal\Core\Asset\AttachedAssetsInterface.
Class
- AttachedAssetsInterface
- The attached assets collection for the current response.
Namespace
Drupal\Core\AssetCode
public function setSettings(array $settings);