94 calls to Settings::get()
- 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().
- config_get_config_directory in core/
includes/ bootstrap.inc - Returns the path of a configuration directory.
- content_moderation_post_update_update_cms_default_revisions in core/
modules/ content_moderation/ content_moderation.post_update.php - Synchronize moderation state default revisions with their host entities.
- 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::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.
- FunctionalTestSetupTrait::initSettings in core/
lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php - Initialize settings created during install.
- HtaccessDeprecationTest::testDeprecatedFunctions in core/
tests/ Drupal/ KernelTests/ Core/ File/ HtaccessDeprecationTest.php - Tests messages for deprecated functions.
- 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.
- InstallerCustomConfigDirectoryCreateTest::testInstaller in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerCustomConfigDirectoryCreateTest.php - Verifies that installation succeeded.
- InstallerExistingSettingsMismatchProfileTest::testInstaller in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingSettingsMismatchProfileTest.php - Verifies that installation succeeded.
- InstallerExistingSettingsReadOnlyMismatchProfileTest::testInstalled in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingSettingsReadOnlyMismatchProfileTest.php - Verifies that installation succeeded.
- InstallerTestBase::setUp in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTestBase.php - InstallerTestBase::setUp in core/
modules/ simpletest/ src/ InstallerTestBase.php - Sets up a Drupal site for running functional and integration tests.
- InstallProfileSystemInstall8300Test::testUpdate in core/
modules/ system/ tests/ src/ Functional/ Update/ InstallProfileSystemInstall8300Test.php - Ensures that the system_update_8300() runs as expected.
- 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.
- KernelTestBase::__get in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - BC: Automatically resolve former KernelTestBase class properties.
- 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::testConfigDirectoriesBcLayer in core/
tests/ Drupal/ Tests/ Core/ Site/ SettingsTest.php - @runInSeparateProcess @group legacy @covers ::__construct @dataProvider configDirectoriesBcLayerProvider
- SettingsTest::testConfigDirectoriesBcLayerEmpty in core/
tests/ Drupal/ Tests/ Core/ Site/ SettingsTest.php - @runInSeparateProcess @group legacy
- SettingsTest::testConfigDirectoriesBcLayerMultiple in core/
tests/ Drupal/ Tests/ Core/ Site/ SettingsTest.php - @runInSeparateProcess @group legacy
- 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 - Test the getViaUri() and getViaScheme() methods and target functions.
- system_path_alias_presave in core/
modules/ system/ system.module - Implements hook_ENTITY_TYPE_presave().
- system_requirements in core/
modules/ system/ system.install - Implements hook_requirements().
- system_update_8400 in core/
modules/ system/ system.install - Move revision metadata fields to the revision table.
- system_update_8801 in core/
modules/ system/ system.install - Remove 'path.temporary' config if redundant.
- system_update_8804 in core/
modules/ system/ system.install - Convert path aliases to entities.
- taxonomy_update_8502 in core/
modules/ taxonomy/ taxonomy.install - Copy hierarchy from {taxonomy_term_hierarchy} to {taxonomy_term__parent}.
- taxonomy_update_8702 in core/
modules/ taxonomy/ taxonomy.install - Fix the parent field langcode data.
- TestBase::prepareEnvironment in core/
modules/ simpletest/ src/ TestBase.php - Prepares the current environment for running the test.
- 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 WebTestBase::setUp() for update testing.
- 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.
- workspaces_post_update_move_association_data in core/
modules/ workspaces/ workspaces.post_update.php - Move the workspace association data to an entity field and a custom table.
- Yaml::getSerializer in core/
lib/ Drupal/ Core/ Serialization/ Yaml.php - Determines which implementation to use for parsing YAML.
- YamlTest::testGetSeralization in core/
tests/ Drupal/ Tests/ Core/ Serialization/ YamlTest.php - Test that the overridden serializer is called.
- _drupal_maintenance_theme in core/
includes/ theme.maintenance.inc - Sets up the theming system for maintenance page.
- _menu_link_content_post_update_make_menu_link_content_revisionable__fix_default_langcode in core/
modules/ menu_link_content/ menu_link_content.post_update.php - Fixes recoverable data integrity issues in the "default_langcode" field.
- _taxonomy_post_update_make_taxonomy_term_revisionable__fix_default_langcode in core/
modules/ taxonomy/ taxonomy.post_update.php - Fixes recoverable data integrity issues in the "default_langcode" field.
- _update_manager_access in core/
modules/ update/ update.module - Resolves if the current user can access updater menu items.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.