Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
config.inc
»
config
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
153 calls to config()
AccountFormController::form
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
AccountFormController.php
Overrides
Drupal\Core\Entity\EntityFormController::form
().
aggregator_page_rss
in drupal/
core/
modules/
aggregator/
aggregator.pages.inc
Page callback: Generates an RSS 0.92 feed of aggregator items or categories.
aggregator_refresh
in drupal/
core/
modules/
aggregator/
aggregator.module
Checks a news feed for new items.
bartik_process_maintenance_page
in drupal/
core/
themes/
bartik/
bartik.theme
Implements
hook_process_HOOK
() for
maintenance-page.html.twig
.
bartik_process_page
in drupal/
core/
themes/
bartik/
bartik.theme
Implements
hook_process_HOOK
() for
page.html.twig
.
book_node_type_update
in drupal/
core/
modules/
book/
book.module
Implements
hook_node_type_update
().
breakpoint_get_module_media_queries
in drupal/
core/
modules/
breakpoint/
breakpoint.module
Get a list of available breakpoints from a specified module.
breakpoint_get_theme_media_queries
in drupal/
core/
modules/
breakpoint/
breakpoint.module
Get a list of available breakpoints from a specified theme.
CategoryFormController::save
in drupal/
core/
modules/
contact/
lib/
Drupal/
contact/
CategoryFormController.php
Overrides
Drupal\Core\Entity\EntityFormController::save
().
ColorTest::_testColor
in drupal/
core/
modules/
color/
lib/
Drupal/
color/
Tests/
ColorTest.php
Tests the Color module functionality using the given theme.
color_scheme_form_submit
in drupal/
core/
modules/
color/
color.module
Form submission handler for
color_scheme_form
().
color_update_8001
in drupal/
core/
modules/
color/
color.install
Converts variables to config.
ConfigCRUDTest::testCRUD
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigCRUDTest.php
Tests CRUD operations.
ConfigCRUDTest::testNameValidation
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigCRUDTest.php
Tests the validation of configuration object names.
ConfigFileContentTest::testReadWriteConfig
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigFileContentTest.php
Tests setting, writing, and reading of a configuration setting.
ConfigImporterTest::testDeleted
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigImporterTest.php
Tests deletion of configuration during import.
ConfigImporterTest::testNew
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigImporterTest.php
Tests creation of configuration during import.
ConfigImporterTest::testNoImport
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigImporterTest.php
Tests omission of module APIs for bare configuration operations.
ConfigImporterTest::testUpdated
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigImporterTest.php
Tests updating of configuration during import.
ConfigInstallTest::testModuleInstallation
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigInstallTest.php
Tests module installation.
ConfigInstallWebTest::testIntegrationModuleReinstallation
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigInstallWebTest.php
Tests module re-installation.
ConfigLocaleOverride::testConfigLocaleOverride
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigLocaleOverride.php
Tests basic locale override.
ConfigLocaleOverride::testConfigLocaleUserAndGlobalOverride
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigLocaleOverride.php
Tests locale override in combination with global overrides.
ConfigLocaleOverride::testConfigLocaleUserOverride
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigLocaleOverride.php
Tests locale override based on user's preferred language.
ConfigOverrideTest::testConfOverride
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigOverrideTest.php
Tests configuration override.
ConfigUpgradeTest::testConfigurationUpdate
in drupal/
core/
modules/
config/
lib/
Drupal/
config/
Tests/
ConfigUpgradeTest.php
Tests
update_variables_to_config
().
contact_entity_bundle_info
in drupal/
core/
modules/
contact/
contact.module
Implements
hook_entity_bundle_info
().
contact_flood_control
in drupal/
core/
modules/
contact/
contact.pages.inc
Throws an exception if the current user is not allowed to submit a contact form.
custom_block_entity_bundle_info
in drupal/
core/
modules/
block/
custom_block/
custom_block.module
Implements
hook_entity_bundle_info
().
DateUpgradePathTest::testDateUpgrade
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Upgrade/
DateUpgradePathTest.php
Tests that date formats have been upgraded.
DefaultProcessor::settingsForm
in drupal/
core/
modules/
aggregator/
lib/
Drupal/
aggregator/
Plugin/
aggregator/
processor/
DefaultProcessor.php
Implements
\Drupal\aggregator\Plugin\ProcessorInterface::settingsForm
().
DefaultProcessor::settingsSubmit
in drupal/
core/
modules/
aggregator/
lib/
Drupal/
aggregator/
Plugin/
aggregator/
processor/
DefaultProcessor.php
Implements
\Drupal\aggregator\Plugin\ProcessorInterface::settingsSubmit
().
DirectoryTest::testFileDirectoryTemp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
DirectoryTest.php
Ensure that the
file_directory_temp
() function always returns a value.
DisplayTest::testInvalidDisplayPlugins
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Plugin/
DisplayTest.php
Tests invalid display plugins.
drupal_aggregate_css
in drupal/
core/
includes/
common.inc
Aggregation callback: Aggregates CSS files and inline content.
drupal_aggregate_js
in drupal/
core/
includes/
common.inc
Default callback to aggregate JavaScript files.
drupal_get_user_timezone
in drupal/
core/
includes/
bootstrap.inc
Returns the time zone of the current user.
drupal_mail
in drupal/
core/
includes/
mail.inc
Composes and optionally sends an e-mail message.
drupal_serve_page_from_cache
in drupal/
core/
includes/
bootstrap.inc
Sets HTTP headers in preparation for a cached page response.
ErrorHandlerTest::testErrorHandler
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
ErrorHandlerTest.php
Test the error handler.
ExceptionController::on404Html
in drupal/
core/
lib/
Drupal/
Core/
Controller/
ExceptionController.php
Processes a NotFound exception into an HTTP 404 response.
FeedStorageController::postDelete
in drupal/
core/
modules/
aggregator/
lib/
Drupal/
aggregator/
FeedStorageController.php
Overrides Drupal\Core\Entity\DataBaseStorageController::postDelete().
file_directory_temp
in drupal/
core/
includes/
file.inc
Gets and sets the path of the configured temporary directory.
file_field_widget_process
in drupal/
core/
modules/
file/
file.field.inc
Render API callback: Processes a file_generic field element.
filter_update_8001
in drupal/
core/
modules/
filter/
filter.install
Migrate filter formats into configuration.
forum_enable
in drupal/
core/
modules/
forum/
forum.install
Implements
hook_enable
().
forum_form_container
in drupal/
core/
modules/
forum/
forum.admin.inc
Form constructor for adding and editing forum containers.
forum_form_submit
in drupal/
core/
modules/
forum/
forum.admin.inc
Form submission handler for
forum_form_forum
() and
forum_form_container
().
forum_forum_load
in drupal/
core/
modules/
forum/
forum.module
Returns a tree of all forums for a given taxonomy term ID.
forum_overview
in drupal/
core/
modules/
forum/
forum.admin.inc
Form constructor for the forum overview form.
forum_page
in drupal/
core/
modules/
forum/
forum.pages.inc
Page callback: Prints a forum listing.
forum_taxonomy_term_delete
in drupal/
core/
modules/
forum/
forum.module
Implements
hook_taxonomy_term_delete
().
hook_entity_bundle_delete
in drupal/
core/
includes/
entity.api.php
Act on entity_bundle_delete().
hook_entity_bundle_rename
in drupal/
core/
includes/
entity.api.php
Act on entity_bundle_rename().
hook_user_login
in drupal/
core/
modules/
user/
user.api.php
The user just logged in.
ImageUpgradePathTest::testImageStyleUpgrade
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Upgrade/
ImageUpgradePathTest.php
Tests that custom and overridden image styles have been upgraded.
image_update_8000
in drupal/
core/
modules/
image/
image.install
Convert existing image styles to the new config system.
InstallerTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
InstallerTest.php
Sets up a Drupal site for running functional and integration tests.
JavaScriptTest::setUp
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Sets up a Drupal site for running functional and integration tests.
JavaScriptTest::tearDown
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
JavaScriptTest::testAggregation
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests JavaScript grouping and aggregation.
language_get_browser_drupal_langcode_mappings
in drupal/
core/
modules/
language/
language.module
Returns language mappings between browser and Drupal language codes.
language_set_browser_drupal_langcode_mappings
in drupal/
core/
modules/
language/
language.module
Stores language mappings between browser and Drupal language codes.
LocaleImportFunctionalTest::testStandalonePoFile
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleImportFunctionalTest.php
Test import of standalone .po files.
LocaleTranslationTest::testJavaScriptTranslation
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleTranslationTest.php
LocaleUninstallTest::testUninstallProcess
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleUninstallTest.php
Check if the values of the Locale variables are correct after uninstall.
LocaleUpdateTest::setTranslationFiles
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleUpdateTest.php
Setup the environment containting local and remote translation files.
LocaleUpdateTest::testUpdateCheckStatus
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleUpdateTest.php
Checks if local or remote translation sources are detected.
LocaleUpdateTest::testUpdateImportModeNonCustomized
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleUpdateTest.php
Tests translation import with a translations directory and only overwrite non-customized translations.
LocaleUpdateTest::testUpdateImportModeNone
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleUpdateTest.php
Tests translation import with a translations directory and don't overwrite any translation.
LocaleUpdateTest::testUpdateImportSourceLocal
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleUpdateTest.php
Tests translation import from local sources.
LocaleUpdateTest::testUpdateImportSourceRemote
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleUpdateTest.php
Tests translation import from remote sources.
LocaleUpdateTest::testUpdateImportWithoutDirectory
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleUpdateTest.php
Tests translation import without a translations directory.
LocaleUpdateTest::testUpdateProjectsHidden
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
Tests/
LocaleUpdateTest.php
Check if a list of translatable projects can include hidden projects.
locale_translation_project_list
in drupal/
core/
modules/
locale/
locale.compare.inc
Fetch an array of projects for translation update.
locale_uninstall
in drupal/
core/
modules/
locale/
locale.install
Implements
hook_uninstall
().
locale_update_8003
in drupal/
core/
modules/
locale/
locale.install
Converts language domains to new format.
locale_update_8016
in drupal/
core/
modules/
locale/
locale.install
Converts localized date formats.
menu_entity_bundle_info
in drupal/
core/
modules/
menu/
menu.module
Implements
hook_entity_bundle_info
().
menu_main_menu
in drupal/
core/
includes/
menu.inc
Returns an array of links to be rendered as the Main menu.
menu_menu_insert
in drupal/
core/
modules/
menu/
menu.module
Implements
hook_menu_insert
()
menu_secondary_menu
in drupal/
core/
includes/
menu.inc
Returns an array of links to be rendered as the Secondary links.
menu_set_active_menu_names
in drupal/
core/
includes/
menu.inc
Sets (or gets) the active menu for the current page.
ModuleHandler::disable
in drupal/
core/
lib/
Drupal/
Core/
Extension/
ModuleHandler.php
Disables a given set of modules.
ModuleHandler::enable
in drupal/
core/
lib/
Drupal/
Core/
Extension/
ModuleHandler.php
Enables or installs a given list of modules.
ModuleHandler::uninstall
in drupal/
core/
lib/
Drupal/
Core/
Extension/
ModuleHandler.php
Uninstalls a given list of disabled modules.
module_set_weight
in drupal/
core/
includes/
module.inc
Sets weight of a particular module.
NodeFormController::form
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
NodeFormController.php
Overrides
Drupal\Core\Entity\EntityFormController::form
().
node_feed
in drupal/
core/
modules/
node/
node.module
Page callback: Generates and prints an RSS feed.
PageCacheTest::testConditionalRequests
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Bootstrap/
PageCacheTest.php
Tests support of requests with If-Modified-Since and If-None-Match headers.
PageCacheTest::testPageCache
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Bootstrap/
PageCacheTest.php
Tests cache headers.
PageCacheTest::testPageCompression
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Bootstrap/
PageCacheTest.php
Tests page compression.
PoDatabaseWriter::setHeader
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
PoDatabaseWriter.php
Implements
Drupal\Component\Gettext\PoMetadataInterface::setHeader
().
RESTTestBase::enableService
in drupal/
core/
modules/
rest/
lib/
Drupal/
rest/
Tests/
RESTTestBase.php
Enables the REST service interface for a specific entity type.
SaveUploadTest::testHandleDangerousFile
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveUploadTest.php
Test dangerous file handling.
search_embedded_form_form_submit
in drupal/
core/
modules/
search/
tests/
modules/
search_embedded_form/
search_embedded_form.module
Submit handler for
search_embedded_form_form
().
SessionTest::testEmptyAnonymousSession
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Session/
SessionTest.php
Test that empty anonymous sessions are destroyed.
standard_install
in drupal/
core/
profiles/
standard/
standard.install
Implements
hook_install
().
StatisticsAdminTest::testStatisticsSettings
in drupal/
core/
modules/
statistics/
lib/
Drupal/
statistics/
Tests/
StatisticsAdminTest.php
Verifies that the statistics settings page works.
StatisticsLoggingTest::setUp
in drupal/
core/
modules/
statistics/
lib/
Drupal/
statistics/
Tests/
StatisticsLoggingTest.php
Sets up a Drupal site for running functional and integration tests.
StreamWrapperTest::testUriFunctions
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
StreamWrapperTest.php
Test the URI and target functions.
syslog_form_system_logging_settings_alter
in drupal/
core/
modules/
syslog/
syslog.module
Implements
hook_form_FORM_ID_alter
().
syslog_watchdog
in drupal/
core/
modules/
syslog/
syslog.module
Implements
hook_watchdog
().
SystemUpgradePathTest::testVariableUpgrade
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Upgrade/
SystemUpgradePathTest.php
Tests upgrade of variables to config.
system_date_format_delete
in drupal/
core/
modules/
system/
system.module
Deletes a date format from the database.
system_form_user_register_form_alter
in drupal/
core/
modules/
system/
system.module
Implements
hook_form_FORM_ID_alter
().
system_requirements
in drupal/
core/
modules/
system/
system.install
Test and report Drupal installation requirements.
system_update_8014
in drupal/
core/
modules/
system/
system.install
Move system logging settings from variables to config.
system_update_8045
in drupal/
core/
modules/
system/
system.install
Convert existing date formats to the new config system.
system_user_login
in drupal/
core/
modules/
system/
system.module
Implements
hook_user_login
().
system_user_presave
in drupal/
core/
modules/
system/
system.module
Implements
hook_user_presave
().
taxonomy_entity_bundle_info
in drupal/
core/
modules/
taxonomy/
taxonomy.module
Implements
hook_entity_bundle_info
().
template_preprocess_html
in drupal/
core/
includes/
theme.inc
Prepares variables for HTML document templates.
template_preprocess_maintenance_page
in drupal/
core/
includes/
theme.inc
Prepare variables for maintenance page templates.
template_preprocess_page
in drupal/
core/
includes/
theme.inc
Prepares variables for the page template.
template_preprocess_views_view_rss
in drupal/
core/
modules/
views/
views.theme.inc
Prepares variables for RSS feed templates.
TestBase::run
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Run all tests in this class.
TestProcessor::settingsForm
in drupal/
core/
modules/
aggregator/
tests/
modules/
aggregator_test/
lib/
Drupal/
aggregator_test/
Plugin/
aggregator/
processor/
TestProcessor.php
Implements
\Drupal\aggregator\Plugin\ProcessorInterface::settingsForm
().
ThemeTest::testCSSOverride
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Theme/
ThemeTest.php
Ensures a theme's .info.yml file is able to override a module CSS file from being added to the page.
theme_disable
in drupal/
core/
includes/
theme.inc
Disables a given list of themes.
theme_enable
in drupal/
core/
includes/
theme.inc
Enables a given list of themes.
UnmanagedCopyTest::testNormal
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
UnmanagedCopyTest.php
Copy a normal file.
UnmanagedCopyTest::testOverwriteSelf
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
UnmanagedCopyTest.php
Copy a file onto itself.
UnmanagedMoveTest::testNormal
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
UnmanagedMoveTest.php
Move a normal file.
UpdateContribTest::testHookUpdateStatusAlter
in drupal/
core/
modules/
update/
lib/
Drupal/
update/
Tests/
UpdateContribTest.php
Checks that
hook_update_status_alter
() works to change a status.
UpdateContribTest::testUpdateShowDisabledThemes
in drupal/
core/
modules/
update/
lib/
Drupal/
update/
Tests/
UpdateContribTest.php
Tests that disabled themes are only shown when desired.
UpdateModuleHandler::enable
in drupal/
core/
lib/
Drupal/
Core/
Extension/
UpdateModuleHandler.php
Enables or installs a given list of modules.
UpdateScriptTest::testRequirements
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Update/
UpdateScriptTest.php
Tests that requirements warnings and errors are correctly displayed.
update_cron
in drupal/
core/
modules/
update/
update.module
Implements
hook_cron
().
update_fix_compatibility
in drupal/
core/
includes/
update.inc
Disables any extensions that are incompatible with the current core version.
update_prepare_d8_bootstrap
in drupal/
core/
includes/
update.inc
Performs extra steps required to bootstrap when using a Drupal 7 database.
update_variables_to_config
in drupal/
core/
includes/
update.inc
Updates config with values set on Drupal 7.x.
UserAdminTest::testNotificationEmailAddress
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserAdminTest.php
Tests the alternate notification e-mail address for user mails.
UserCreateTest::testUserAdd
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserCreateTest.php
Create a user through the administration interface and ensure that it displays in the user list.
UserEditTest::testUserEdit
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserEditTest.php
Test user edit page.
UserRegistrationTest::testRegistrationWithEmailVerification
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserRegistrationTest.php
UserRegistrationTest::testRegistrationWithoutEmailVerification
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserRegistrationTest.php
user_login_authenticate_validate
in drupal/
core/
modules/
user/
user.module
A validate handler on the login form. Check supplied username/password against local users table. If successful, $form_state['uid'] is set to the matching user ID.
user_login_final_validate
in drupal/
core/
modules/
user/
user.module
The final validation handler on the login form.
user_mail
in drupal/
core/
modules/
user/
user.module
Implements
hook_mail
().
user_update_8004
in drupal/
core/
modules/
user/
user.install
Moves account settings from variable to config.
ViewExecutable::render
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
ViewExecutable.php
Render this view for a certain display.
ViewUI::renderPreview
in drupal/
core/
modules/
views_ui/
lib/
Drupal/
views_ui/
ViewUI.php
WebTestBase::setUp
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Sets up a Drupal site for running functional and integration tests.
_breakpoint_import_breakpoint_groups
in drupal/
core/
modules/
breakpoint/
breakpoint.module
Import breakpoint groups from theme or module.
_drupal_bootstrap_page_cache
in drupal/
core/
includes/
bootstrap.inc
Attempts to serve a page from the cache.
_locale_rebuild_js
in drupal/
core/
modules/
locale/
locale.module
(Re-)Creates the JavaScript translation file for a language.
_locale_translation_default_update_options
in drupal/
core/
modules/
locale/
locale.translation.inc
Returns default import options for translation update.
_locale_translation_fetch_operations
in drupal/
core/
modules/
locale/
locale.fetch.inc
Helper function to construct the batch operations to fetch translations.
_update_8000_entity_get_display
in drupal/
core/
modules/
entity/
entity.install
Returns the raw configuration object for an EntityDisplay entity.
_update_8000_entity_get_form_display
in drupal/
core/
modules/
entity/
entity.install
Returns the raw configuration object for an EntityFormDisplay entity.
_update_cron_notify
in drupal/
core/
modules/
update/
update.fetch.inc
Performs any notifications that should be done once cron fetches new data.
_update_process_fetch_task
in drupal/
core/
modules/
update/
update.fetch.inc
Processes a task to fetch available update data for a single project.