You are here

service settings in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \settings

Class

Drupal\Core\Site\Settings
53 string references to settings
AjaxCommandsTest::testSettingsCommand in core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php
@covers \Drupal\Core\Ajax\SettingsCommand
AudioFile::createSourceField in core/modules/media/src/Plugin/media/Source/AudioFile.php
Creates the source field definition for a type.
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
core/core.services.yml

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