93 calls to Settings::get()
- AssetsStream::basePath in core/
lib/ Drupal/ Core/ StreamWrapper/ AssetsStream.php - Returns the base path for public://.
- AssetsStream::baseUrl in core/
lib/ Drupal/ Core/ StreamWrapper/ AssetsStream.php - Finds and returns the base URL for public://.
- 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().
- ConfigSyncReadmeUpdateTest::testConfigurationSynchronizationReadmeUpdate in core/
modules/ system/ tests/ src/ Functional/ Update/ ConfigSyncReadmeUpdateTest.php - Tests configuration synchronization readme file update.
- CoreServiceProvider::register in core/
lib/ Drupal/ Core/ CoreServiceProvider.php - Registers services to the container.
- CredentialForm::buildForm in core/
modules/ migrate_drupal_ui/ src/ Form/ CredentialForm.php - Form constructor.
- 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.
- 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 - forum_post_update_recreate_forum_index_rows in core/
modules/ forum/ forum.post_update.php - Repopulate the forum index table.
- 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::defaultProtectedDirs in core/
lib/ Drupal/ Core/ File/ HtaccessWriter.php - HtaccessWriter::ensure in core/
lib/ Drupal/ Core/ File/ HtaccessWriter.php - HtmlToTextTest::testVeryLongLineWrap in core/
modules/ system/ tests/ src/ Unit/ Mail/ HtmlToTextTest.php - Tests \Drupal\Core\Mail\MailFormatHelper::htmlToText() wrapping.
- ImageStyleDownloadController::deliver in core/
modules/ image/ src/ Controller/ ImageStyleDownloadController.php - Generates a derivative, given a style and image path.
- ImageStyleDownloadController::sourceImageExists in core/
modules/ image/ src/ Controller/ ImageStyleDownloadController.php - Checks whether the provided source image exists.
- 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.
- LegacySettingsRewriteTest::testDrupalRewriteSettings in core/
tests/ Drupal/ KernelTests/ Core/ Site/ LegacySettingsRewriteTest.php - Tests the drupal_rewrite_settings() function.
- 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://.
- PublicStream::getLocalPath in core/
lib/ Drupal/ Core/ StreamWrapper/ PublicStream.php - Returns the canonical absolute path of the URI, if possible.
- 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 - @covers \Drupal\Core\Site\SettingsEditor::rewrite
- 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.
- State::invalidateCache in core/
lib/ Drupal/ Core/ State/ State.php - Invalidate the cache.
- State::updateCache in core/
lib/ Drupal/ Core/ State/ State.php - Writes a value to the persistent cache immediately.
- State::__construct in core/
lib/ Drupal/ Core/ State/ State.php - Constructs a State object.
- StatementPrefetch::current in core/
lib/ Drupal/ Core/ Database/ StatementPrefetch.php - Return the current row formatted according to the current fetch style.
- StreamWrapperManager::normalizeUri in core/
lib/ Drupal/ Core/ StreamWrapper/ StreamWrapperManager.php - Normalizes a URI by making it syntactically correct.
- StreamWrapperTest::testUriFunctions in core/
tests/ Drupal/ KernelTests/ Core/ File/ StreamWrapperTest.php - Tests the getViaUri() and getViaScheme() methods and target functions.
- SystemInfoController::php in core/
modules/ system/ src/ Controller/ SystemInfoController.php - Returns the contents of phpinfo().
- system_file_download in core/
modules/ system/ system.module - Implements hook_file_download().
- system_post_update_add_langcode_to_all_translatable_config in core/
modules/ system/ system.post_update.php - Adds a langcode to all simple config which needs it.
- system_post_update_amend_config_sync_readme_url in core/
modules/ system/ system.post_update.php - Fix path in README.txt in CONFIG_SYNC_DIRECTORY.
- system_requirements in core/
modules/ system/ system.install - Implements hook_requirements().
- TwigSandboxPolicy::getMethodsAllowedOnAllObjects in core/
lib/ Drupal/ Core/ Template/ TwigSandboxPolicy.php - Gets the list of allowed methods on all objects.
- 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::installDrupal in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBase.php - Overrides BrowserTestBase::installDrupal() for update testing.
- UpdatePathTestBaseTest::testSetup in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBaseTest.php - Tests that setup is done correctly.
- 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 - WorkspaceMerger::merge in core/
modules/ workspaces/ src/ WorkspaceMerger.php - Merges the contents of the source workspace into the target workspace.
- WorkspacePublisher::publish in core/
modules/ workspaces/ src/ WorkspacePublisher.php - Publishes the contents of a workspace to the default (Live) workspace.
- Yaml::decode in core/
lib/ Drupal/ Core/ Serialization/ Yaml.php - Decodes data from the serialization format.
- _drupal_maintenance_theme in core/
includes/ theme.maintenance.inc - Sets up the theming system for maintenance page.
- _locale_rebuild_js in core/
modules/ locale/ locale.module - (Re-)Creates the JavaScript translation file for a language.
- _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.