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\Asset

Code

public function setSettings(array $settings);
doc_Drupal
2016-10-29 08:44:58
Comments
Leave a Comment

Please login to continue.