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. Other projects

Exact matches

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

All search results

Title Object type File name Summary
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::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::__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::__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 @group image
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/navigation/src/Form/SettingsForm.php Configure Navigation settings for this site.
SettingsForm class core/modules/media_library/src/Form/SettingsForm.php Defines a form for configuring the Media Library module.
SettingsForm.php file core/modules/media_library/src/Form/SettingsForm.php
SettingsForm.php file core/modules/navigation/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 this class.
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.
SettingsForm::getFormId function core/modules/media_library/src/Form/SettingsForm.php Returns a unique string identifying the form.
SettingsForm::getFormId function core/modules/navigation/src/Form/SettingsForm.php Returns a unique string identifying the form.
SettingsForm::submitForm function core/modules/navigation/src/Form/SettingsForm.php Form submission handler.
SettingsForm::submitForm function core/modules/media_library/src/Form/SettingsForm.php Form submission handler.
SettingsForm::validateForm function core/modules/navigation/src/Form/SettingsForm.php Form validation handler.
SettingsForm::validateLogoPath function core/modules/navigation/src/Form/SettingsForm.php Helper function for the navigation settings form.
SettingsForm::__construct function core/modules/navigation/src/Form/SettingsForm.php Constructs a Navigation SettingsForm object.
SettingsFormTest class core/modules/jsonapi/tests/src/Functional/SettingsFormTest.php @covers \Drupal\jsonapi\Form\JsonApiSettingsForm[[api-linebreak]]
@group jsonapi
SettingsFormTest class core/modules/media_library/tests/src/Functional/SettingsFormTest.php Tests the Media Library settings form.
SettingsFormTest class core/modules/layout_builder/tests/src/Functional/SettingsFormTest.php Tests the Layout Builder settings form.
SettingsFormTest.php file core/modules/jsonapi/tests/src/Functional/SettingsFormTest.php

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