Search for variable

  1. Search 7.x for variable
  2. Search 9.5.x for variable
  3. Search 10.3.x for variable
  4. Search 11.x for variable
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Variable class core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php Drupal variable source from database.
Variable class core/lib/Drupal/Component/Utility/Variable.php Provides helpers for dealing with variables.

All search results

Title Object type File name Summary
ParamConversionEnhancerTest::testCopyRawVariables function core/tests/Drupal/Tests/Core/Enhancer/ParamConversionEnhancerTest.php @covers ::copyRawVariables[[api-linebreak]]
RefreshVariablesTrait trait core/lib/Drupal/Core/Test/RefreshVariablesTrait.php Provides a method to refresh in-memory configuration and state information.
RefreshVariablesTrait.php file core/lib/Drupal/Core/Test/RefreshVariablesTrait.php
RefreshVariablesTrait::refreshVariables function core/lib/Drupal/Core/Test/RefreshVariablesTrait.php Refreshes in-memory configuration and state information.
SelectProfileFormTest::refreshVariables function core/tests/Drupal/FunctionalJavascriptTests/Core/Installer/Form/SelectProfileFormTest.php BrowserTestBase::refreshVariables() tries to operate on persistent storage,
which is only available after the installer completed.
SpecialAttributesRouteSubscriberTest::providerTestOnRouteBuildingInvalidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Provides a list of routes with invalid route variables.
SpecialAttributesRouteSubscriberTest::providerTestOnRouteBuildingValidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Provides a list of routes with valid route variables.
SpecialAttributesRouteSubscriberTest::testOnRouteBuildingInvalidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Tests the onAlterRoutes method for invalid variables.
SpecialAttributesRouteSubscriberTest::testOnRouteBuildingValidVariables function core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php Tests the onAlterRoutes method for valid variables.
StubVariableTestClass class core/tests/Drupal/Tests/Component/Utility/VariableTest.php No-op test class for VariableTest::testExport().
TestController::variable function core/modules/system/tests/modules/conneg_test/src/Controller/TestController.php Returns a render array depending on some passed in value.
TestDrupal6SqlBase::variableGetWrapper function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Wrapper method to test protected method variableGet().
test_theme_preprocess_twig_theme_test_php_variables function core/modules/system/tests/themes/test_theme/test_theme.theme Implements THEME_preprocess_twig_theme_test_php_variables().
TwigThemeTestController::phpVariablesRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Menu callback for testing PHP variables in a Twig template.
twig_theme_test.php_variables.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.php_variables.html.twig {# Output for Twig Theme PHP variables test. #}
<ul>
{% for key, php_value in php_values %}
<li>{{ key }}: {{ php_value.value }}</li>
{% endfor %}
</ul>
TypedConfigManager::replaceVariable function core/lib/Drupal/Core/Config/TypedConfigManager.php Replaces variable values in included names with configuration data.
user_template_preprocess_default_variables_alter function core/modules/user/user.module Implements hook_template_preprocess_default_variables_alter().
Variable class core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php Drupal variable source from database.
Variable class core/lib/Drupal/Component/Utility/Variable.php Provides helpers for dealing with variables.
Variable.php file core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php
Variable.php file core/lib/Drupal/Component/Utility/Variable.php
Variable::$variables property core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php The variable names to fetch.
Variable::count function core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php Gets the source count.
Variable::export function core/lib/Drupal/Component/Utility/Variable.php Drupal-friendly var_export().
Variable::fields function core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php Returns available fields on the source.
Variable::getIds function core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php Defines the source fields uniquely identifying a source row.
Variable::initializeIterator function core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php Initializes the iterator with the source data.
Variable::query function core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php
Variable::values function core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php Return the values of the variables specified in the plugin configuration.
Variable::__construct function core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php Constructs a \Drupal\Component\Plugin\PluginBase object.
VariableMultiRow class core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php Multiple variables source from database.
VariableMultiRow.php file core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php
VariableMultiRow::fields function core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php Returns available fields on the source.
VariableMultiRow::getIds function core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php Defines the source fields uniquely identifying a source row.
VariableMultiRow::prepareRow function core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php Adds additional data to the row.
VariableMultiRow::query function core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php
VariableMultiRowTest class core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/VariableMultiRowTest.php Tests the variable multirow source plugin.
VariableMultiRowTest.php file core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/VariableMultiRowTest.php
VariableMultiRowTest::$modules property core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/VariableMultiRowTest.php Modules to enable.
VariableMultiRowTest::providerSource function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/VariableMultiRowTest.php The data provider.
VariableMultiRowTestBase class core/modules/migrate_drupal/tests/src/Unit/source/VariableMultiRowTestBase.php Base class for variable multirow source unit tests.
VariableMultiRowTestBase.php file core/modules/migrate_drupal/tests/src/Unit/source/VariableMultiRowTestBase.php
VariableMultiRowTestBase::$databaseContents property core/modules/migrate_drupal/tests/src/Unit/source/VariableMultiRowTestBase.php The database contents.
VariableMultiRowTestBase::$expectedResults property core/modules/migrate_drupal/tests/src/Unit/source/VariableMultiRowTestBase.php Expected results after the source parsing.
VariableMultiRowTestBase::$migrationConfiguration property core/modules/migrate_drupal/tests/src/Unit/source/VariableMultiRowTestBase.php An array of migration configuration values.
VariableMultiRowTestBase::PLUGIN_CLASS constant core/modules/migrate_drupal/tests/src/Unit/source/VariableMultiRowTestBase.php The plugin class under test.
variables.css file core/themes/claro/css/base/variables.css /*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/2815083
* @preserve
*/
:root {
/*
* Color Palette.
*/
/* Secondary. */
/* Variations. */ /* 5% darker than base. */ /*…
variables.pcss.css file core/themes/claro/css/base/variables.pcss.css :root {
/*
* Color Palette.
*/
--color-absolutezero: #003cc5;
--color-white: #fff;
--color-text: #222330;
--color-text-light: var(--color-grayblue);
--color-whitesmoke: #f3f4f9;
--color-whitesmoke-light: #fafbfd;
VariableTest class core/modules/migrate_drupal/tests/src/Unit/source/VariableTest.php Tests the variable source plugin.
VariableTest class core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/VariableTest.php Tests the variable source plugin.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.