function AttachedAssets::setSettings

Same name in other branches
  1. 9 core/lib/Drupal/Core/Asset/AttachedAssets.php \Drupal\Core\Asset\AttachedAssets::setSettings()
  2. 8.9.x core/lib/Drupal/Core/Asset/AttachedAssets.php \Drupal\Core\Asset\AttachedAssets::setSettings()
  3. 10 core/lib/Drupal/Core/Asset/AttachedAssets.php \Drupal\Core\Asset\AttachedAssets::setSettings()

Overrides AttachedAssetsInterface::setSettings

File

core/lib/Drupal/Core/Asset/AttachedAssets.php, line 67

Class

AttachedAssets
The default attached assets collection.

Namespace

Drupal\Core\Asset

Code

public function setSettings(array $settings) {
    $this->settings = $settings;
    return $this;
}

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