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
»
bootstrap.inc
»
variable_get
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
112 calls to variable_get()
BlockTest::testHideBlockTitle
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockTest.php
Test block title display settings.
BlockTestBase::setUp
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockTestBase.php
Sets up a Drupal site for running functional and integration tests.
book_admin_paths
in drupal/
core/
modules/
book/
book.module
Implements
hook_admin_paths
().
CascadingStylesheetsTest::testAddCssFileWithQueryString
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
CascadingStylesheetsTest.php
Tests that CSS query string remains intact when added to file.
CascadingStylesheetsTest::testRenderFile
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
CascadingStylesheetsTest.php
Tests rendering the stylesheets.
CommentFormController::actions
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
CommentFormController.php
Overrides
Drupal\Core\Entity\EntityFormController::actions
().
CommentFormController::form
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
CommentFormController.php
Overrides
Drupal\Core\Entity\EntityFormController::form
().
CommentRenderController::alterBuild
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
CommentRenderController.php
Overrides
Drupal\Core\Entity\EntityRenderController::alterBuild
().
CommentStorageController::updateNodeStatistics
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
CommentStorageController.php
Updates the comment statistics for a given node.
CommentTestBase::postComment
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentTestBase.php
Posts a comment.
comment_field_extra_fields
in drupal/
core/
modules/
comment/
comment.module
Implements
hook_field_extra_fields
().
comment_form_node_type_form_alter
in drupal/
core/
modules/
comment/
comment.module
Implements
hook_form_FORM_ID_alter
().
comment_get_display_ordinal
in drupal/
core/
modules/
comment/
comment.module
Gets the display ordinal for a comment, starting from 0.
comment_get_display_page
in drupal/
core/
modules/
comment/
comment.module
Returns the page number for a comment.
comment_new_page_count
in drupal/
core/
modules/
comment/
comment.module
Calculates the page number for the first new comment.
comment_node_insert
in drupal/
core/
modules/
comment/
comment.module
Implements
hook_node_insert
().
comment_node_page_additions
in drupal/
core/
modules/
comment/
comment.module
Builds the comment-related elements for node detail pages.
comment_node_prepare
in drupal/
core/
modules/
comment/
comment.module
Implements
hook_node_prepare
().
comment_node_update_index
in drupal/
core/
modules/
comment/
comment.module
Implements
hook_node_update_index
().
comment_node_view
in drupal/
core/
modules/
comment/
comment.module
Implements
hook_node_view
().
CustomStrings::loadLanguage
in drupal/
core/
lib/
Drupal/
Core/
StringTranslation/
Translator/
CustomStrings.php
Add translations for new language.
DrupalDiffFormatter::DrupalDiffFormatter
in drupal/
core/
lib/
Drupal/
Component/
Diff/
DiffEngine.php
drupal_get_profile
in drupal/
core/
includes/
common.inc
Gets the name of the currently active installation profile.
drupal_pre_render_scripts
in drupal/
core/
includes/
common.inc
#pre_render callback to add the elements needed for JavaScript tags to be rendered.
drupal_pre_render_styles
in drupal/
core/
includes/
common.inc
Pre-render callback: Adds the elements needed for CSS tags to be rendered.
DummyReadOnlyStreamWrapper::getDirectoryPath
in drupal/
core/
modules/
file/
tests/
file_test/
lib/
Drupal/
file_test/
DummyReadOnlyStreamWrapper.php
Gets the path that the wrapper is responsible for.
EditFieldForm::init
in drupal/
core/
modules/
edit/
lib/
Drupal/
edit/
Form/
EditFieldForm.php
Initialize the form state and the entity before the first form build.
EntityTranslationController::entityFormAlter
in drupal/
core/
modules/
translation_entity/
lib/
Drupal/
translation_entity/
EntityTranslationController.php
Implements EntityTranslationControllerInterface::entityFormAlter().
Field::saveNew
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Plugin/
Core/
Entity/
Field.php
Saves a new field definition.
field_bundle_settings
in drupal/
core/
modules/
field/
field.module
Gets or sets administratively defined bundle settings.
field_entity_bundle_rename
in drupal/
core/
modules/
field/
field.attach.inc
Implements
hook_entity_bundle_rename
().
FileSystemForm::buildForm
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Form/
FileSystemForm.php
Implements
\Drupal\Core\Form\FormInterface::buildForm
().
FileTransferTest::testJail
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
FileTransfer/
FileTransferTest.php
file_directory_temp
in drupal/
core/
includes/
file.inc
Gets and sets the path of the configured temporary directory.
FilterHtmlImageSecureTest::testImageSource
in drupal/
core/
modules/
filter/
lib/
Drupal/
filter/
Tests/
FilterHtmlImageSecureTest.php
Tests removal of images having a non-local source.
hook_filetransfer_info_alter
in drupal/
core/
modules/
system/
system.api.php
Alter the FileTransfer class registry.
hook_file_download
in drupal/
core/
modules/
system/
system.api.php
Control access to private file downloads and specify HTTP headers.
hook_form_alter
in drupal/
core/
modules/
system/
system.api.php
Perform alterations before a form is rendered.
hook_install_tasks
in drupal/
core/
modules/
system/
system.api.php
Return an array of tasks to be performed by an installation profile.
hook_menu_delete
in drupal/
core/
modules/
menu/
menu.api.php
Respond to a custom menu deletion.
hook_menu_insert
in drupal/
core/
modules/
menu/
menu.api.php
Respond to a custom menu creation.
hook_menu_update
in drupal/
core/
modules/
menu/
menu.api.php
Respond to a custom menu update.
hook_node_grants_alter
in drupal/
core/
modules/
node/
node.api.php
Alter user access rules when trying to view, edit or delete a node.
hook_node_prepare
in drupal/
core/
modules/
node/
node.api.php
Act on a node object about to be shown on the add/edit form.
hook_node_type_update
in drupal/
core/
modules/
node/
node.api.php
Respond to node type updates.
hook_ranking
in drupal/
core/
modules/
node/
node.api.php
Provide additional methods of scoring for core search results for nodes.
install_run_task
in drupal/
core/
includes/
install.core.inc
Runs an individual installation task.
JavaScriptTest::testAddJsFileWithQueryString
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests JavaScript files that have querystrings attached get added right.
JavaScriptTest::testAggregatedAttributes
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests that attributes are maintained when JS aggregation is enabled.
JavaScriptTest::testAggregation
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests JavaScript grouping and aggregation.
JavaScriptTest::testAttributes
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests adding JavaScript files with additional attributes.
JavaScriptTest::testBrowserConditionalComments
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests adding JavaScript within conditional comments.
LanguageListTest::testLanguageList
in drupal/
core/
modules/
language/
lib/
Drupal/
language/
Tests/
LanguageListTest.php
Functional tests for adding, editing and deleting languages.
LanguageManager::getLanguageDefault
in drupal/
core/
lib/
Drupal/
Core/
Language/
LanguageManager.php
Returns a language object representing the site's default language.
LanguageManager::getLanguageTypes
in drupal/
core/
lib/
Drupal/
Core/
Language/
LanguageManager.php
Returns an array of the available language types.
LanguageManager::isMultilingual
in drupal/
core/
lib/
Drupal/
Core/
Language/
LanguageManager.php
Returns whether or not the site has more than one language enabled.
LanguageNegotiationInfoTest::checkFixedLanguageTypes
in drupal/
core/
modules/
language/
lib/
Drupal/
language/
Tests/
LanguageNegotiationInfoTest.php
Check that language negotiation for fixed types matches the stored one.
LanguageNegotiationInfoTest::testInfoAlterations
in drupal/
core/
modules/
language/
lib/
Drupal/
language/
Tests/
LanguageNegotiationInfoTest.php
Tests alterations to language types/negotiation info.
language_default
in drupal/
core/
includes/
bootstrap.inc
Returns the default language used on the site.
language_multilingual
in drupal/
core/
includes/
bootstrap.inc
Returns TRUE if there is more than one language enabled.
language_negotiation_configure_form_table
in drupal/
core/
modules/
language/
language.admin.inc
Builds a language negotiation method configuration table.
language_negotiation_get_switch_links
in drupal/
core/
includes/
language.inc
Returns the language switch links for the given language type.
language_negotiation_method_enabled
in drupal/
core/
includes/
language.inc
Checks whether a language negotiation method is enabled for a language type.
language_negotiation_method_get_first
in drupal/
core/
includes/
language.inc
Returns the ID of the language type's first language negotiation method.
language_negotiation_method_invoke
in drupal/
core/
includes/
language.inc
Invokes a language negotiation method and caches the results.
language_negotiation_purge
in drupal/
core/
includes/
language.inc
Removes any language negotiation methods that are no longer defined.
language_types_disable
in drupal/
core/
includes/
language.inc
Disables the given language types.
language_types_get_all
in drupal/
core/
includes/
bootstrap.inc
Returns an array of the available language types.
language_types_get_configurable
in drupal/
core/
includes/
language.inc
Returns only the configurable language types.
language_types_initialize
in drupal/
core/
includes/
language.inc
Chooses a language based on language negotiation method settings.
LocaleTranslation::getStringTranslation
in drupal/
core/
modules/
locale/
lib/
Drupal/
locale/
LocaleTranslation.php
Retrieves English string to given language.
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.
locale_test_locale_translation_projects_alter
in drupal/
core/
modules/
locale/
tests/
modules/
locale_test/
locale_test.module
Implements
hook_locale_translation_projects_alter
().
locale_translate_english
in drupal/
core/
modules/
locale/
locale.module
Checks whether locale translates to English.
MenuTest::testSystemMenuRename
in drupal/
core/
modules/
menu/
lib/
Drupal/
menu/
Tests/
MenuTest.php
Test renaming built-in menu.
menu_form_node_form_alter
in drupal/
core/
modules/
menu/
menu.module
Implements
hook_form_BASE_FORM_ID_alter
().
menu_form_node_type_form_alter
in drupal/
core/
modules/
menu/
menu.module
Implements
hook_form_FORM_ID_alter
().
menu_menu_predelete
in drupal/
core/
modules/
menu/
menu.module
Implements hook_menu_predelete().
menu_node_prepare
in drupal/
core/
modules/
menu/
menu.module
Implements
hook_node_prepare
().
menu_parent_options
in drupal/
core/
modules/
menu/
menu.module
Returns a list of menu links that are valid possible parents for the given menu link.
NodeFormController::actions
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
NodeFormController.php
Overrides
Drupal\Core\Entity\EntityFormController::actions
().
NodeFormController::prepareEntity
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
NodeFormController.php
Prepares the node object.
node_admin_paths
in drupal/
core/
modules/
node/
node.module
Implements
hook_admin_paths
().
node_form_system_themes_admin_form_alter
in drupal/
core/
modules/
node/
node.module
Implements
hook_form_FORM_ID_alter
().
node_permissions_get_configured_types
in drupal/
core/
modules/
node/
node.module
Returns an array of node types that should be managed by permissions.
node_search_admin
in drupal/
core/
modules/
node/
node.module
Implements
hook_search_admin
().
node_type_form
in drupal/
core/
modules/
node/
content_types.inc
Form constructor for the node type editing form.
PublicStream::getDirectoryPath
in drupal/
core/
lib/
Drupal/
Core/
StreamWrapper/
PublicStream.php
Implements
Drupal\Core\StreamWrapper\LocalStream::getDirectoryPath
()
SettingsRewriteTest::testDrupalRewriteSettings
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
SettingsRewriteTest.php
Tests the
drupal_rewrite_settings
() function.
StreamWrapperTest::testUriFunctions
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
StreamWrapperTest.php
Test the URI and target functions.
system_requirements
in drupal/
core/
modules/
system/
system.install
Test and report Drupal installation requirements.
system_run_automated_cron
in drupal/
core/
modules/
system/
system.module
Run the automated cron if enabled.
system_theme_settings
in drupal/
core/
modules/
system/
system.admin.inc
Form builder; display theme configuration for entire site and individual themes.
template_preprocess_comment_wrapper
in drupal/
core/
modules/
comment/
comment.module
Prepares variables for comment wrapper templates.
template_preprocess_node
in drupal/
core/
modules/
node/
node.module
Prepares variables for node templates.
TestBase::prepareEnvironment
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Prepares the current environment for running the test.
TestBase::run
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Run all tests in this class.
ThemeTest::testThemeSettings
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
ThemeTest.php
Test the theme settings form.
theme_comment_post_forbidden
in drupal/
core/
modules/
comment/
comment.module
Returns HTML for a "you can't post comments" notice.
translation_admin_paths
in drupal/
core/
modules/
translation/
translation.module
Implements
hook_admin_paths
().
translation_form_node_type_form_alter
in drupal/
core/
modules/
translation/
translation.module
Implements
hook_form_FORM_ID_alter
() for
node_type_form
().
translation_supported_type
in drupal/
core/
modules/
translation/
translation.module
Returns whether the given content type has support for translations.
update_prepare_d8_bootstrap
in drupal/
core/
includes/
update.inc
Performs extra steps required to bootstrap when using a Drupal 7 database.
update_prepare_d8_language
in drupal/
core/
includes/
update.inc
Prepares Drupal 8 language changes for the bootstrap if needed.
update_prepare_stored_includes
in drupal/
core/
includes/
update.inc
Fixes stored include paths to match the "/core" migration.
VariableTest::testVariable
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Bootstrap/
VariableTest.php
Tests variables then deletes them.
VariableTest::testVariableDefaults
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Bootstrap/
VariableTest.php
Makes sure that the default variable parameter is passed through okay.
WebTestBase::drupalGetTestFiles
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Get a list files that can be used in tests.
_drupal_bootstrap_page_cache
in drupal/
core/
includes/
bootstrap.inc
Attempts to serve a page from the cache.
_drupal_maintenance_theme
in drupal/
core/
includes/
theme.maintenance.inc
Sets up the theming system for maintenance page.
_node_rankings
in drupal/
core/
modules/
node/
node.module
Gathers the rankings from the the
hook_ranking
() implementations.