settings

Same name and namespace in other branches
  1. 9 core/core.services.yml \settings
  2. 8.9.x core/core.services.yml \settings
  3. 11.x core/core.services.yml \settings

Class

Drupal\Core\Site\Settings
28 string references to settings
AjaxCommandsTest::testSettingsCommand in core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php
@covers \Drupal\Core\Ajax\SettingsCommand[[api-linebreak]]
BaseFieldOverrideValidationTest::testImmutableProperties in core/tests/Drupal/KernelTests/Core/Entity/BaseFieldOverrideValidationTest.php
Tests that immutable properties cannot be changed.
Block::getPluginCollection in core/modules/block/src/Entity/Block.php
Encapsulates the creation of the block's LazyPluginCollection.
Block::label in core/modules/block/src/Entity/Block.php
Gets the label of the entity.
Block::prepareRow in core/modules/block/src/Plugin/migrate/source/Block.php
Adds additional data to the row.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Site\Settings
  2. factory: 'Drupal\Core\Site\Settings::getInstance'

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