KeyValueFactory::DEFAULT_SETTING

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php \Drupal\Core\KeyValueStore\KeyValueFactory::DEFAULT_SETTING
  2. 10 core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php \Drupal\Core\KeyValueStore\KeyValueFactory::DEFAULT_SETTING
  3. 11.x core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php \Drupal\Core\KeyValueStore\KeyValueFactory::DEFAULT_SETTING

The default setting name.

This is a setting name that will be used if the specific setting does not exist. The setting value will be the id of a service.

File

core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php, line 26

Class

KeyValueFactory
Defines the key/value store factory.

Namespace

Drupal\Core\KeyValueStore

Code

const DEFAULT_SETTING = 'default';

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