You are here

171 calls to Drupal::config() in Drupal 10

AccountForm::form in core/modules/user/src/AccountForm.php
Gets the actual form array to be built.
AssetDumper::dump in core/lib/Drupal/Core/Asset/AssetDumper.php
The file name for the CSS or JS cache file is generated from the hash of the aggregated contents of the files in $data. This forces proxies and browsers to download new CSS when the CSS changes.
automated_cron_form_system_cron_settings_alter in core/modules/automated_cron/automated_cron.module
Implements hook_form_FORM_ID_alter() for the system_cron_settings() form.
BasicAuthTest::testBasicAuth in core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
Tests http basic authentication.
block_help in core/modules/block/block.module
Implements hook_help().
block_page_top in core/modules/block/block.module
Implements hook_page_top().
block_themes_installed in core/modules/block/block.module
Initializes blocks for installed themes.
block_theme_initialize in core/modules/block/block.module
Assigns an initial, default set of blocks for a theme.
book_breadcrumb_test_node_access in core/modules/book/tests/modules/book_breadcrumb_test/book_breadcrumb_test.module
Implements hook_node_access().
book_node_links_alter in core/modules/book/book.module
Implements hook_node_links_alter().
book_type_is_allowed in core/modules/book/book.module
Determines if a given node type is in the list of types allowed for books.
Comment::getAuthorName in core/modules/comment/src/Entity/Comment.php
Comment::getDefaultHostname in core/modules/comment/src/Entity/Comment.php
Returns the default value for entity hostname base field.
comment_user_cancel in core/modules/comment/comment.module
Implements hook_user_cancel().
ConfigDiffTest::testDiff in core/tests/Drupal/KernelTests/Core/Config/ConfigDiffTest.php
Tests calculating the difference between two sets of configuration.
ConfigEventsTest::testConfigRenameEvent in core/tests/Drupal/KernelTests/Core/Config/ConfigEventsTest.php
Tests configuration rename event that is fired from the ConfigFactory.
ConfigExportUITest::testExport in core/modules/config/tests/src/Functional/ConfigExportUITest.php
Tests export of configuration.
ConfigImporterFieldPurger::initializeSandbox in core/modules/field/src/ConfigImporterFieldPurger.php
Initializes the batch context sandbox for processing field deletions.
ConfigInstallProfileOverrideTest::testInstallProfileConfigOverwrite in core/modules/config/tests/src/Functional/ConfigInstallProfileOverrideTest.php
Tests install profile config changes.
ConfigInstallWebTest::testIntegrationModuleReinstallation in core/modules/config/tests/src/Functional/ConfigInstallWebTest.php
Tests module re-installation.
ConfigLanguageOverrideTest::testConfigLanguageOverride in core/tests/Drupal/KernelTests/Core/Config/ConfigLanguageOverrideTest.php
Tests locale override based on language.
ConfigOverrideTest::testConfOverride in core/tests/Drupal/KernelTests/Core/Config/ConfigOverrideTest.php
Tests configuration override.
ConfigSchemaTest::testConfigSaveWithWrappingSchema in core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php
Tests saving config when the type is wrapped by a dynamic type.
ConfigSchemaTest::testConfigSaveWithWrappingSchemaDoubleBrackets in core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php
Tests dynamic config schema type with multiple sub-key references.
ContactFormListBuilder::buildRow in core/modules/contact/src/ContactFormListBuilder.php
Builds a row for an entity in the entity listing.
contact_form_user_form_alter in core/modules/contact/contact.module
Implements hook_form_FORM_ID_alter().
contact_mail in core/modules/contact/contact.module
Implements hook_mail().
ContentTranslationHandler::entityFormAlter in core/modules/content_translation/src/ContentTranslationHandler.php
Cron::invokeCronHandlers in core/lib/Drupal/Core/Cron.php
Invokes any cron handlers implementing hook_cron.
CssCollectionOptimizer::deleteAll in core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php
DateFormatter::country in core/lib/Drupal/Core/Datetime/DateFormatter.php
Returns the default country from config.
DateHelper::weekDaysOrdered in core/lib/Drupal/Core/Datetime/DateHelper.php
Reorders weekdays to match the first day of the week.
dblog_cron in core/modules/dblog/dblog.module
Implements hook_cron().
DisplayLink::validate in core/modules/views/src/Plugin/views/area/DisplayLink.php
DisplayModeUpdateTest::testDisplayModeUpdateAfterFieldCreation in core/modules/field/tests/src/Kernel/DisplayModeUpdateTest.php
Ensure display modes are updated when fields are created.
DisplayTest::testRenameDisplayAdminName in core/modules/views_ui/tests/src/FunctionalJavascript/DisplayTest.php
Tests setting the administrative title.
DrupalTest::testConfig in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the config() method.
editor_image_upload_settings_form in core/modules/editor/editor.admin.inc
Subform constructor to configure the text editor's image upload settings.
ExtractTest::testMultipleValueExplode in core/modules/migrate/tests/src/Kernel/process/ExtractTest.php
Tests multiple value handling.
field_cron in core/modules/field/field.module
Implements hook_cron().
FileItem::defaultStorageSettings in core/modules/file/src/Plugin/Field/FieldType/FileItem.php
Defines the storage-level settings for this plugin.
FileItem::validateExtensions in core/modules/file/src/Plugin/Field/FieldType/FileItem.php
Form API callback.
FileWidget::process in core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
Form API callback: Processes a file_generic field element.
file_cron in core/modules/file/file.module
Implements hook_cron().
file_validate in core/modules/file/file.module
Checks that a file meets the criteria specified by the validators.
FilterFormat::isFallbackFormat in core/modules/filter/src/Entity/FilterFormat.php
Returns if this format is the fallback format.
FilterHtml::tips in core/modules/filter/src/Plugin/Filter/FilterHtml.php
filter_fallback_format in core/modules/filter/filter.module
Returns the ID of the fallback text format that all users have access to.
forum_entity_bundle_info_alter in core/modules/forum/forum.module
Implements hook_entity_bundle_info_alter().
forum_form_taxonomy_term_form_alter in core/modules/forum/forum.module
Implements hook_form_FORM_ID_alter() for \Drupal\taxonomy\TermForm.
forum_form_taxonomy_vocabulary_form_alter in core/modules/forum/forum.module
Implements hook_form_BASE_FORM_ID_alter() for \Drupal\taxonomy\VocabularyForm.
HandleMultiplesTest::testScalarAndMultipleValues in core/modules/migrate/tests/src/Kernel/process/HandleMultiplesTest.php
Tests process pipelines with scalar and multiple values handling.
hook_entity_bundle_delete in core/lib/Drupal/Core/Entity/entity.api.php
Act on entity_bundle_delete().
hook_form_alter in core/lib/Drupal/Core/Form/form.api.php
Perform alterations before a form is rendered.
hook_mail in core/core.api.php
Prepares a message based on parameters.
hook_mail_alter in core/core.api.php
Alter an email message created with MailManagerInterface->mail().
hook_menu_links_discovered_alter in core/lib/Drupal/Core/Menu/menu.api.php
Alters all the menu links discovered by the menu link plugin manager.
hook_node_grants_alter in core/modules/node/node.api.php
Alter user access rules when trying to view, edit or delete a node.
hook_ranking in core/modules/node/node.api.php
Provide additional methods of scoring for core search results for nodes.
hook_update_status_alter in core/modules/update/update.api.php
Alter the information about available updates for projects.
hook_user_login in core/modules/user/user.api.php
The user just logged in.
ImageStyle::buildUrl in core/modules/image/src/Entity/ImageStyle.php
Returns the URL of this image derivative for an original image path or URI.
ImageStyle::fileDefaultScheme in core/modules/image/src/Entity/ImageStyle.php
Provides a wrapper to allow unit testing.
image_install in core/modules/image/image.install
Implements hook_install().
image_uninstall in core/modules/image/image.install
Implements hook_uninstall().
InstallerTranslationMultipleLanguageNonInteractiveTest::testTranslationsLoaded in core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php
Tests that translations ended up at the expected places.
InstallerTranslationMultipleLanguageTest::testTranslationsLoaded in core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageTest.php
Tests that translations ended up at the expected places.
InstallerTranslationTest::testInstaller in core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationTest.php
Verifies the expected behaviors of the installation result.
JsCollectionOptimizer::deleteAll in core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php
KernelTestBaseTest::testBootKernel in core/tests/Drupal/KernelTests/KernelTestBaseTest.php
@covers ::bootKernel
language_get_browser_drupal_langcode_mappings in core/modules/language/language.module
Returns language mappings between browser and Drupal language codes.
language_modules_installed in core/modules/language/language.module
Implements hook_modules_installed().
locale_cron in core/modules/locale/locale.module
Implements hook_cron().
locale_cron_fill_queue in core/modules/locale/locale.translation.inc
Populate a queue with project to check for translation updates.
locale_form_language_admin_add_form_alter_submit in core/modules/locale/locale.module
Form submission handler for language_admin_add_form().
locale_install in core/modules/locale/locale.install
Implements hook_install().
locale_is_translatable in core/modules/locale/locale.module
Checks whether $langcode is a language supported as a locale target.
locale_js_translate in core/modules/locale/locale.module
Returns a list of translation files given a list of JavaScript files.
locale_system_update in core/modules/locale/locale.module
Imports translations when new modules or themes are installed.
locale_translate_get_interface_translation_files in core/modules/locale/locale.bulk.inc
Get interface translation files present in the translations directory.
locale_translation_default_translation_server in core/modules/locale/locale.compare.inc
Retrieve data for default server.
locale_translation_source_build in core/modules/locale/locale.translation.inc
Builds abstract translation source.
locale_translation_use_remote_source in core/modules/locale/locale.module
Checks whether remote translation sources are used.
locale_uninstall in core/modules/locale/locale.install
Implements hook_uninstall().
ManagedFile::validateManagedFile in core/modules/file/src/Element/ManagedFile.php
Render API callback: Validates the managed_file element.
Media::getDefaultThumbnailUri in core/modules/media/src/Entity/Media.php
Returns the URI of the default thumbnail.
MediaSourceFileTest::testMediaFileSource in core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php
Tests the file media source.
media_entity_type_alter in core/modules/media/media.module
Implements hook_entity_type_alter().
media_install in core/modules/media/media.install
Implements hook_install().
media_requirements in core/modules/media/media.install
Implements hook_requirements().
menu_test_menu_links_discovered_alter in core/modules/system/tests/modules/menu_test/menu_test.module
Implements hook_menu_links_discovered_alter().
MigrateMenuSettingsTest::testMigration in core/modules/menu_ui/tests/src/Kernel/Migrate/MigrateMenuSettingsTest.php
MigrateSystemConfigurationTest::testConfigurationMigration in core/modules/system/tests/src/Kernel/Migrate/d6/MigrateSystemConfigurationTest.php
Tests that all expected configuration gets migrated.
MigrateSystemConfigurationTest::testConfigurationMigration in core/modules/system/tests/src/Kernel/Migrate/d7/MigrateSystemConfigurationTest.php
Tests that all expected configuration gets migrated.
MigrateTrackerSettingsTest::testMigration in core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerSettingsTest.php
Tests migration of tracker's variables to configuration.
OEmbedIframeController::render in core/modules/media/src/Controller/OEmbedIframeController.php
Renders an oEmbed resource.
quickedit_library_info_alter in core/modules/quickedit/quickedit.module
Implements hook_library_info_alter().
RegisterAccessCheck::access in core/modules/user/src/Access/RegisterAccessCheck.php
Checks access.
RegisterForm::save in core/modules/user/src/RegisterForm.php
RegisterForm::submitForm in core/modules/user/src/RegisterForm.php
ReplaceTitleCommand::render in core/modules/views/src/Ajax/ReplaceTitleCommand.php
SearchQuery::parseSearchExpression in core/modules/search/src/SearchQuery.php
Parses the search query into SQL conditions.
SearchQuery::parseWord in core/modules/search/src/SearchQuery.php
Parses a word or phrase for parseQuery().
statistics_block_alter in core/modules/statistics/statistics.module
Implements hook_block_alter().
statistics_node_links_alter in core/modules/statistics/statistics.module
Implements hook_node_links_alter().
statistics_ranking in core/modules/statistics/statistics.module
Implements hook_ranking().
system_admin_compact_mode in core/modules/system/system.module
Determines whether the current user is in compact mode.
system_cron in core/modules/system/system.module
Implements hook_cron().
system_page_top in core/modules/system/system.module
Implements hook_page_top().
system_requirements in core/modules/system/system.install
Implements hook_requirements().
system_retrieve_file in core/modules/system/system.module
Attempts to get a file using Guzzle HTTP client and to store it locally.
system_tokens in core/modules/system/system.tokens.inc
Implements hook_tokens().
taxonomy_build_node_index in core/modules/taxonomy/taxonomy.module
Builds and inserts taxonomy index entries for a given node.
taxonomy_delete_node_index in core/modules/taxonomy/taxonomy.module
Deletes taxonomy index entries for a given node.
taxonomy_taxonomy_term_delete in core/modules/taxonomy/taxonomy.module
Implements hook_ENTITY_TYPE_delete() for taxonomy_term entities.
template_preprocess_forum_icon in core/modules/forum/forum.module
Prepares variables for forum icon templates.
template_preprocess_html in core/includes/theme.inc
Prepares variables for HTML document templates.
template_preprocess_image_style_preview in core/modules/image/image.admin.inc
Prepares variables for image style preview templates.
template_preprocess_maintenance_page in core/includes/theme.inc
Prepares variables for maintenance page templates.
template_preprocess_views_ui_build_group_filter_form in core/modules/views_ui/views_ui.theme.inc
Prepares variables for Views UI build group filter form templates.
template_preprocess_views_view_opml in core/modules/views/views.theme.inc
Prepares variables for OPML feed templates.
template_preprocess_views_view_rss in core/modules/views/views.theme.inc
Prepares variables for RSS feed templates.
TestThemeNegotiator::determineActiveTheme in core/modules/system/tests/modules/menu_test/src/Theme/TestThemeNegotiator.php
Determine the active theme for the request.
text_summary in core/modules/text/text.module
Generates a trimmed, formatted version of a text field value.
theme_get_setting in core/includes/theme.inc
Retrieves a setting for the current theme or for a given theme.
TokenReplaceKernelTest::testSystemSiteTokenReplacement in core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php
Tests the generation of all system site information tokens.
tracker_cron in core/modules/tracker/tracker.module
Implements hook_cron().
TranslationsStream::getDirectoryPath in core/modules/locale/src/StreamWrapper/TranslationsStream.php
UpdatePathTestBaseTest::testDatabaseLoaded in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php
Tests that the database was properly loaded.
update_cron in core/modules/update/update.module
Implements hook_cron().
update_delete_file_if_stale in core/modules/update/update.module
Deletes stale files and directories from the update manager disk cache.
update_mail in core/modules/update/update.module
Implements hook_mail().
update_script_test_requirements in core/modules/system/tests/modules/update_script_test/update_script_test.install
Implements hook_requirements().
update_test_system_info_alter in core/modules/update/tests/modules/update_test/update_test.module
Implements hook_system_info_alter().
update_test_update_status_alter in core/modules/update/tests/modules/update_test/update_test.module
Implements hook_update_status_alter().
User::getDisplayName in core/modules/user/src/Entity/User.php
UserLoginBlock::build in core/modules/user/src/Plugin/Block/UserLoginBlock.php
UserSelection::entityQueryAlter in core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php
UserSession::getDisplayName in core/lib/Drupal/Core/Session/UserSession.php
UserTokenReplaceTest::testUserTokenReplacement in core/modules/user/tests/src/Functional/UserTokenReplaceTest.php
Creates a user, then tests the tokens generated from it.
UserUid::title in core/modules/comment/src/Plugin/views/argument/UserUid.php
UserViewsData::getViewsData in core/modules/user/src/UserViewsData.php
user_cancel_methods in core/modules/user/user.module
Helper function to return available account cancellation methods.
user_entity_extra_field_info in core/modules/user/user.module
Implements hook_entity_extra_field_info().
user_form_process_password_confirm in core/modules/user/user.module
Form element process handler for client-side password validation.
user_form_system_regional_settings_alter in core/modules/user/user.module
Implements hook_form_FORM_ID_alter() for \Drupal\system\Form\RegionalForm.
user_mail in core/modules/user/user.module
Implements hook_mail().
user_tokens in core/modules/user/user.tokens.inc
Implements hook_tokens().
user_user_login in core/modules/user/user.module
Implements hook_user_login().
user_user_presave in core/modules/user/user.module
Implements hook_ENTITY_TYPE_presave() for user entities.
ViewEditForm::getDisplayDetails in core/modules/views_ui/src/ViewEditForm.php
Helper function to get the display details section of the edit UI.
ViewFormBase::isDefaultDisplayShown in core/modules/views_ui/src/ViewFormBase.php
Controls whether or not the default display should have its own tab on edit.
ViewPreviewForm::form in core/modules/views_ui/src/ViewPreviewForm.php
Views::getEnabledDisplayExtenders in core/modules/views/src/Views.php
Gets enabled display extenders.
views_test_data_handler_test_access_callback in core/modules/views/tests/modules/views_test_data/views_test_data.module
Access callback for the generic handler test.
views_test_data_handler_test_access_callback_argument in core/modules/views/tests/modules/views_test_data/views_test_data.module
Access callback with an argument for the generic handler test.
views_ui_standard_display_dropdown in core/modules/views_ui/admin.inc
Add a <select> dropdown for a given section, allowing the user to change whether this info is stored on the default display or on the current display.
ViewUI::renderPreview in core/modules/views_ui/src/ViewUI.php
Weight::processWeight in core/lib/Drupal/Core/Render/Element/Weight.php
Expands a weight element into a select/number element.
_ckeditor5_theme_css in core/modules/ckeditor5/ckeditor5.module
Retrieves the default theme's CKEditor 5 stylesheets.
_ckeditor_theme_css in core/modules/ckeditor/ckeditor.module
Retrieves the default theme's CKEditor stylesheets.
_drupal_get_error_level in core/includes/errors.inc
Returns the current error level.
_drupal_maintenance_theme in core/includes/theme.maintenance.inc
Sets up the theming system for maintenance page.
_install_config_locale_overrides_process_batch in core/includes/install.core.inc
Batch operation callback for install_config_locale_overrides().
_locale_rebuild_js in core/modules/locale/locale.module
(Re-)Creates the JavaScript translation file for a language.
_locale_translation_default_update_options in core/modules/locale/locale.translation.inc
Returns default import options for translation update.
_settings_tray_has_block_overrides in core/modules/settings_tray/settings_tray.module
Checks if a block has overrides.
_system_advisories_requirements in core/modules/system/system.install
Display requirements from security advisories.
_update_cron_notify in core/modules/update/update.fetch.inc
Performs any notifications that should be done once cron fetches new data.
_user_mail_notify in core/modules/user/user.module
Conditionally create and send a notification email when a certain operation happens on the given user account.
_user_role_permissions_update in core/modules/user/user.module
Determine the permissions for one or more roles during update.