Search for settings

  1. Search 7.x for settings
  2. Search 9.5.x for settings
  3. Search 8.9.x for settings
  4. Search 10.3.x for settings
  5. Search 11.x for settings
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
settings service core/core.services.yml Drupal\Core\Site\Settings
Settings class core/lib/Drupal/Core/Site/Settings.php Read only settings that are initialized with the class.
Settings class core/themes/admin/src/Settings.php Service to handle overridden user settings.

All search results

Title Object type File name Summary
Settings::getAll function core/lib/Drupal/Core/Site/Settings.php Returns all the settings. This is only used for testing purposes.
Settings::getApcuPrefix function core/lib/Drupal/Core/Site/Settings.php Generates a prefix for APCu user cache keys.
Settings::getDefault function core/themes/admin/src/Settings.php Get the default setting from theme.
Settings::getHashSalt function core/lib/Drupal/Core/Site/Settings.php Gets a salt useful for hardening against SQL injection.
Settings::getInstance function core/lib/Drupal/Core/Site/Settings.php Returns the settings instance.
Settings::getInstance function core/themes/admin/src/Settings.php Gets the admin settings.
Settings::getSettingsForm function core/themes/admin/src/Settings.php Build the settings form for the theme.
Settings::handleDeprecations function core/lib/Drupal/Core/Site/Settings.php Handle deprecated values in the site settings.
Settings::initialize function core/lib/Drupal/Core/Site/Settings.php Bootstraps settings.php and the Settings singleton.
Settings::overridden function core/themes/admin/src/Settings.php Check if the user setting overrides the global setting.
Settings::overriddenSettingByUser function core/themes/admin/src/Settings.php After build callback to modify the description if a setting is overwritten.
Settings::processColorPicker function core/themes/admin/src/Settings.php Unset color picker fields.
Settings::setAll function core/themes/admin/src/Settings.php Set user overrides.
Settings::userOverrideEnabled function core/themes/admin/src/Settings.php Determine if the user enabled overrides.
Settings::__clone function core/lib/Drupal/Core/Site/Settings.php Protects creating with clone.
Settings::__construct function core/lib/Drupal/Core/Site/Settings.php Constructor.
Settings::__construct function core/themes/admin/src/Settings.php Settings constructor.
Settings::__sleep function core/lib/Drupal/Core/Site/Settings.php Prevents settings from being serialized.
SettingsAnnotation class core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
SettingsAnnotation::$settings property core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
SettingsAnnotation::__construct function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
SettingsCommand class core/lib/Drupal/Core/Ajax/SettingsCommand.php AJAX command for adjusting Drupal's JavaScript settings.
SettingsCommand.php file core/lib/Drupal/Core/Ajax/SettingsCommand.php
SettingsCommand::$merge property core/lib/Drupal/Core/Ajax/SettingsCommand.php Whether the settings should be merged into the global drupalSettings.
SettingsCommand::$settings property core/lib/Drupal/Core/Ajax/SettingsCommand.php An array of key/value pairs of JavaScript settings.
SettingsCommand::render function core/lib/Drupal/Core/Ajax/SettingsCommand.php Implements Drupal\Core\Ajax\CommandInterface:render().
SettingsCommand::__construct function core/lib/Drupal/Core/Ajax/SettingsCommand.php Constructs a SettingsCommand object.
SettingsConfigValidationTest class core/modules/image/tests/src/Kernel/SettingsConfigValidationTest.php Tests Settings Config Validation.
SettingsConfigValidationTest.php file core/modules/image/tests/src/Kernel/SettingsConfigValidationTest.php
SettingsConfigValidationTest::$modules property core/modules/image/tests/src/Kernel/SettingsConfigValidationTest.php Modules to install.
SettingsConfigValidationTest::testPreviewImagePathIsValidated function core/modules/image/tests/src/Kernel/SettingsConfigValidationTest.php Tests that the preview_image setting must be an existing image file.
SettingsEditor class core/lib/Drupal/Core/Site/SettingsEditor.php Generates settings.php files for Drupal installations.
SettingsEditor.php file core/lib/Drupal/Core/Site/SettingsEditor.php
SettingsEditor::exportSettingsToPhp function core/lib/Drupal/Core/Site/SettingsEditor.php Recursively exports one or more settings to a valid PHP string.
SettingsEditor::exportSingleSettingToPhp function core/lib/Drupal/Core/Site/SettingsEditor.php Exports the value of a value property and adds the comment if it exists.
SettingsEditor::isArrayIndex function core/lib/Drupal/Core/Site/SettingsEditor.php Checks whether the token is a valid array index (a number or string).
SettingsEditor::isSimple function core/lib/Drupal/Core/Site/SettingsEditor.php Checks whether the given token represents a scalar or NULL.
SettingsEditor::rewrite function core/lib/Drupal/Core/Site/SettingsEditor.php Replaces values in settings.php with values in the submitted array.
SettingsEditor::setGlobal function core/lib/Drupal/Core/Site/SettingsEditor.php Makes the given setting global.
SettingsEditor::__construct function core/lib/Drupal/Core/Site/SettingsEditor.php This class should not be instantiated.
SettingsForm class core/modules/media_library/src/Form/SettingsForm.php Defines a form for configuring the Media Library module.
SettingsForm class core/modules/navigation/src/Form/SettingsForm.php Configure Navigation settings for this site.
SettingsForm.php file core/modules/navigation/src/Form/SettingsForm.php
SettingsForm.php file core/modules/media_library/src/Form/SettingsForm.php
SettingsForm::adjustLogoDimensions function core/modules/navigation/src/Form/SettingsForm.php Adjusts the custom logo dimensions according to navigation settings.
SettingsForm::buildForm function core/modules/navigation/src/Form/SettingsForm.php Form constructor.
SettingsForm::buildForm function core/modules/media_library/src/Form/SettingsForm.php Form constructor.
SettingsForm::create function core/modules/navigation/src/Form/SettingsForm.php Instantiates a new instance of the implementing class using autowiring.
SettingsForm::getEditableConfigNames function core/modules/navigation/src/Form/SettingsForm.php Gets the configuration names that will be editable.
SettingsForm::getEditableConfigNames function core/modules/media_library/src/Form/SettingsForm.php Gets the configuration names that will be editable.

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