You are here

74 calls to Settings::get() in Drupal 9

authorize_access_allowed in core/authorize.php
Determines if the current user is allowed to run authorize.php.
BootstrapConfigStorageFactory::get in core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php
Returns a configuration storage implementation.
ClientFactory::fromOptions in core/lib/Drupal/Core/Http/ClientFactory.php
Constructs a new client object from some configuration.
ConfigFileContentTest::testSerialization in core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php
Tests serialization of configuration to file.
ConfigImportUploadTest::testImport in core/modules/config/tests/src/Functional/ConfigImportUploadTest.php
Tests importing configuration.
ConfigInstallWebTest::testConfigModuleRequirements in core/modules/config/tests/src/Functional/ConfigInstallWebTest.php
Tests config_requirements().
CoreServiceProvider::register in core/lib/Drupal/Core/CoreServiceProvider.php
Registers services to the container.
DbUpdateAccessCheck::access in core/modules/system/src/Access/DbUpdateAccessCheck.php
Checks access for update routes.
DbUpdateController::results in core/modules/system/src/Controller/DbUpdateController.php
Displays results of the update script with any accompanying errors.
DbUpdateNegotiator::determineActiveTheme in core/modules/system/src/Theme/DbUpdateNegotiator.php
Determine the active theme for the request.
DrupalKernel::boot in core/lib/Drupal/Core/DrupalKernel.php
Boots the current kernel.
DrupalKernel::discoverServiceProviders in core/lib/Drupal/Core/DrupalKernel.php
Discovers available serviceProviders.
DrupalKernel::getContainerCacheKey in core/lib/Drupal/Core/DrupalKernel.php
Returns the container cache key based on the environment.
DrupalKernel::initializeContainer in core/lib/Drupal/Core/DrupalKernel.php
Initializes the service container.
DrupalKernel::initializeSettings in core/lib/Drupal/Core/DrupalKernel.php
Locate site path and initialize settings singleton.
DrupalKernel::preHandle in core/lib/Drupal/Core/DrupalKernel.php
Helper method that does request related initialization.
DrupalKernelSiteTest::testServicesYml in core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelSiteTest.php
Tests services.yml in site directory.
ExtensionDiscovery::scan in core/lib/Drupal/Core/Extension/ExtensionDiscovery.php
Discovers available extensions of a given type.
ExtensionDiscovery::scanDirectory in core/lib/Drupal/Core/Extension/ExtensionDiscovery.php
Recursively scans a base directory for the extensions it contains.
FieldImportCreateTest::testImportCreate in core/modules/field/tests/src/Kernel/FieldImportCreateTest.php
Tests creating field storages and fields during config import.
FileCopyTest::testNormal in core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php
Copy a normal file.
FileCopyTest::testOverwriteSelf in core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php
Copy a file onto itself.
FileMoveTest::testNormal in core/tests/Drupal/KernelTests/Core/File/FileMoveTest.php
Move a normal file.
FileStorageFactory::getSync in core/lib/Drupal/Core/Config/FileStorageFactory.php
Returns a FileStorage object working with the sync config directory.
FileStorageFactoryTest::testGetSync in core/tests/Drupal/KernelTests/Core/Config/FileStorageFactoryTest.php
@covers ::getSync
FinishResponseSubscriber::onRespond in core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php
Sets extra headers on successful responses.
FinishResponseSubscriber::setResponseCacheable in core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php
Add Cache-Control and Expires headers to a cacheable response.
FormCache::setCache in core/lib/Drupal/Core/Form/FormCache.php
Stores a form in the cache.
HtaccessTest::setUp in core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php
HtaccessTest::testHtaccessSave in core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php
@covers ::write
HtaccessWriter::ensure in core/lib/Drupal/Core/File/HtaccessWriter.php
Creates a .htaccess file in each Drupal files directory if it is missing.
HtmlToTextTest::testVeryLongLineWrap in core/modules/system/tests/src/Functional/Mail/HtmlToTextTest.php
Tests \Drupal\Core\Mail\MailFormatHelper::htmlToText() wrapping.
install_begin_request in core/includes/install.core.inc
Begins an installation request, modifying the installation state as needed.
install_load_profile in core/includes/install.core.inc
Loads information about the chosen profile during installation.
KernelTestBase::initFileCache in core/tests/Drupal/KernelTests/KernelTestBase.php
Initializes the FileCache component.
MailFormatHelper::htmlToText in core/lib/Drupal/Core/Mail/MailFormatHelper.php
Transforms an HTML string into plain text, preserving its structure.
NodeImportCreateTest::testImportCreate in core/modules/node/tests/src/Kernel/Config/NodeImportCreateTest.php
Tests creating a content type during config import.
NodeMigrateType::getNodeMigrateType in core/modules/migrate_drupal/src/NodeMigrateType.php
Determines the type of node migration to be used.
PageCache::storeResponse in core/modules/page_cache/src/StackMiddleware/PageCache.php
Stores a response in the page cache.
PageCacheTest::testPageCacheAnonymous403404 in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Tests the 4xx-response cache tag is added and invalidated.
PhpMail::mail in core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php
Sends an email message.
PhpStorageFactory::get in core/lib/Drupal/Core/PhpStorage/PhpStorageFactory.php
Instantiates a storage for generated PHP code.
PrivateStream::basePath in core/lib/Drupal/Core/StreamWrapper/PrivateStream.php
Returns the base path for private://.
PublicStream::basePath in core/lib/Drupal/Core/StreamWrapper/PublicStream.php
Returns the base path for public://.
PublicStream::baseUrl in core/lib/Drupal/Core/StreamWrapper/PublicStream.php
Finds and returns the base URL for public://.
rebuild.php in core/rebuild.php
Rebuilds all Drupal caches even when Drupal itself does not work.
ReplicaKillSwitchTest::testSystemInitIgnoresSecondaries in core/tests/Drupal/KernelTests/Core/Database/ReplicaKillSwitchTest.php
Tests database.replica_kill_switch service.
SelectProfileForm::buildForm in core/lib/Drupal/Core/Installer/Form/SelectProfileForm.php
Form constructor.
SelectProfileForm::submitForm in core/lib/Drupal/Core/Installer/Form/SelectProfileForm.php
Form submission handler.
ServiceProviderTestServiceProvider::alter in core/modules/system/tests/modules/service_provider_test/src/ServiceProviderTestServiceProvider.php
Modifies existing service definitions.
Settings::getApcuPrefix in core/lib/Drupal/Core/Site/Settings.php
Generates a prefix for APCu user cache keys.
SettingsRewriteTest::testDrupalRewriteSettings in core/tests/Drupal/KernelTests/Core/Site/SettingsRewriteTest.php
Tests the drupal_rewrite_settings() function.
SettingsTest::testFakeDeprecatedSettings in core/tests/Drupal/Tests/Core/Site/SettingsTest.php
Tests deprecation messages and values when using fake deprecated settings.
SettingsTest::testGet in core/tests/Drupal/Tests/Core/Site/SettingsTest.php
@covers ::get
SiteConfigureForm::buildForm in core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php
Form constructor.
SitesDirectoryHardeningTest::testSitesDirectoryHardeningConfig in core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php
Tests writable files remain writable when directory hardening is disabled.
SiteSettingsForm::submitForm in core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php
Form submission handler.
SqlContentEntityStorageSchema::postUpdateEntityTypeSchema in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php
Allows subscribers to do any cleanup necessary after data copying.
SqlFieldableEntityTypeListenerTrait::copyData in core/lib/Drupal/Core/Entity/Sql/SqlFieldableEntityTypeListenerTrait.php
Copies entity data from the original storage to the temporary one.
StreamWrapperTest::testUriFunctions in core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php
Tests the getViaUri() and getViaScheme() methods and target functions.
system_requirements in core/modules/system/system.install
Implements hook_requirements().
ToolkitGdTest::testGifTransparentImages in core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php
Tests for GIF images with transparency.
ToolkitGdTest::testManipulations in core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php
Since PHP can't visually check that our images have been manipulated properly, build a list of expected color values for each of the corners and the expected height and widths for the final images.
TwigSandboxPolicy::__construct in core/lib/Drupal/Core/Template/TwigSandboxPolicy.php
Constructs a new TwigSandboxPolicy object.
UpdateKernel::handleAccess in core/lib/Drupal/Core/Update/UpdateKernel.php
Checks if the current user has rights to access updates page.
UpdatePathTestBase::setUp in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
Overrides BrowserTestBase::setUp() for update testing.
UserFloodSubscriber::blockedIp in core/modules/user/src/EventSubscriber/UserFloodSubscriber.php
An attempt to login has been blocked based on IP.
UserFloodSubscriber::blockedUser in core/modules/user/src/EventSubscriber/UserFloodSubscriber.php
An attempt to login has been blocked based on user name.
UserRequestSubscriber::onKernelTerminate in core/modules/user/src/EventSubscriber/UserRequestSubscriber.php
Updates the current user's last access time.
WorkspaceManager::purgeDeletedWorkspacesBatch in core/modules/workspaces/src/WorkspaceManager.php
Deletes the revisions associated with deleted workspaces.
Yaml::getSerializer in core/lib/Drupal/Core/Serialization/Yaml.php
Determines which implementation to use for parsing YAML.
YamlTest::testGetSerialization in core/tests/Drupal/Tests/Core/Serialization/YamlTest.php
Tests that the overridden serializer is called.
_drupal_maintenance_theme in core/includes/theme.maintenance.inc
Sets up the theming system for maintenance page.
_update_manager_access in core/modules/update/update.module
Resolves if the current user can access updater menu items.