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
CommentVariable class core/modules/comment/src/Plugin/migrate/source/d6/CommentVariable.php Plugin annotation

@MigrateSource(
id = "d6_comment_variable",
source_module = "comment"
)
CommentVariable.php file core/modules/comment/src/Plugin/migrate/source/d6/CommentVariable.php
CommentVariable::commentPrefixes function core/modules/comment/src/Plugin/migrate/source/d6/CommentVariable.php Comment related data for fields.
CommentVariable::count function core/modules/comment/src/Plugin/migrate/source/d6/CommentVariable.php Gets the source count.
CommentVariable::fields function core/modules/comment/src/Plugin/migrate/source/d6/CommentVariable.php Returns available fields on the source.
CommentVariable::getCommentVariables function core/modules/comment/src/Plugin/migrate/source/d6/CommentVariable.php Retrieves the values of the comment variables grouped by node type.
CommentVariable::getIds function core/modules/comment/src/Plugin/migrate/source/d6/CommentVariable.php Defines the source fields uniquely identifying a source row.
CommentVariable::initializeIterator function core/modules/comment/src/Plugin/migrate/source/d6/CommentVariable.php Initializes the iterator with the source data.
CommentVariablePerCommentType class core/modules/comment/src/Plugin/migrate/source/d6/CommentVariablePerCommentType.php Plugin annotation

@MigrateSource(
id = "d6_comment_variable_per_comment_type",
source_module = "comment"
)
CommentVariablePerCommentType.php file core/modules/comment/src/Plugin/migrate/source/d6/CommentVariablePerCommentType.php
CommentVariablePerCommentType::fields function core/modules/comment/src/Plugin/migrate/source/d6/CommentVariablePerCommentType.php Returns available fields on the source.
CommentVariablePerCommentType::getCommentVariables function core/modules/comment/src/Plugin/migrate/source/d6/CommentVariablePerCommentType.php Retrieves the values of the comment variables grouped by comment type.
CommentVariablePerCommentType::getIds function core/modules/comment/src/Plugin/migrate/source/d6/CommentVariablePerCommentType.php Defines the source fields uniquely identifying a source row.
CommentVariablePerCommentTypeTest class core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentVariablePerCommentTypeTest.php Tests comment variable per comment type source plugin.
CommentVariablePerCommentTypeTest.php file core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentVariablePerCommentTypeTest.php
CommentVariablePerCommentTypeTest::$modules property core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentVariablePerCommentTypeTest.php Modules to enable.
CommentVariablePerCommentTypeTest::providerSource function core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentVariablePerCommentTypeTest.php The data provider.
CommentVariablePerCommentTypeTest::testSource function core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentVariablePerCommentTypeTest.php @dataProvider providerSource
@requires extension pdo_sqlite
@expectedDeprecation CommentVariablePerCommentType is deprecated in Drupal 8.4.x and will be removed before Drupal 9.0.x. Use \Drupal\node\Plugin\migrate\source\d6\NodeType…
CommentVariableTest class core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentVariableTest.php Tests d6_comment_variable source plugin.
CommentVariableTest.php file core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentVariableTest.php
CommentVariableTest::$modules property core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentVariableTest.php Modules to enable.
CommentVariableTest::providerSource function core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentVariableTest.php The data provider.
CommentVariableTest::testSource function core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d6/CommentVariableTest.php @dataProvider providerSource
@requires extension pdo_sqlite
@expectedDeprecation CommentVariable is deprecated in Drupal 8.4.x and will be removed before Drupal 9.0.x. Use \Drupal\node\Plugin\migrate\source\d6\NodeType instead.
D6VariableTranslation class core/modules/migrate_drupal/src/Plugin/migrate/source/d6/D6VariableTranslation.php Gets Drupal i18n_variable source from database.
D6VariableTranslation.php file core/modules/migrate_drupal/src/Plugin/migrate/source/d6/D6VariableTranslation.php
D6VariableTranslation::__construct function core/modules/migrate_drupal/src/Plugin/migrate/source/d6/D6VariableTranslation.php Constructs a \Drupal\Component\Plugin\PluginBase object.
Drupal6SqlBaseTest::testVariableGet function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Tests for Drupal6SqlBase::variableGet().
DrupalSqlBase::variableGet function core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php Reads a variable from a source Drupal database.
EngineTwigTest::testTwigVariableDataTypes function core/modules/system/tests/src/Functional/Theme/EngineTwigTest.php Tests that the Twig engine handles PHP data correctly.
FieldInputValueNormalizerTraitTest::testKeyValueByDeltaUndefinedVariables function core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php @covers ::normalizeValue[[api-linebreak]]
hook_template_preprocess_default_variables_alter function core/lib/Drupal/Core/Render/theme.api.php Alter the default, hook-independent variables for all templates.
i18nVariable class core/modules/migrate_drupal/src/Plugin/migrate/source/d6/i18nVariable.php Drupal i18n_variable source from database.
i18nVariable.php file core/modules/migrate_drupal/src/Plugin/migrate/source/d6/i18nVariable.php
i18nVariableTest class core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/d6/i18nVariableTest.php Tests the variable source plugin.
i18nVariableTest class core/modules/migrate_drupal/tests/src/Unit/source/d6/i18nVariableTest.php Tests the variable source plugin.
i18nVariableTest.php file core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/d6/i18nVariableTest.php
i18nVariableTest.php file core/modules/migrate_drupal/tests/src/Unit/source/d6/i18nVariableTest.php
i18nVariableTest::$databaseContents property core/modules/migrate_drupal/tests/src/Unit/source/d6/i18nVariableTest.php Database contents for tests.
i18nVariableTest::$expectedResults property core/modules/migrate_drupal/tests/src/Unit/source/d6/i18nVariableTest.php Expected results from the source.
i18nVariableTest::$migrationConfiguration property core/modules/migrate_drupal/tests/src/Unit/source/d6/i18nVariableTest.php Define bare minimum migration configuration.
i18nVariableTest::$modules property core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/d6/i18nVariableTest.php Modules to enable.
i18nVariableTest::PLUGIN_CLASS constant core/modules/migrate_drupal/tests/src/Unit/source/d6/i18nVariableTest.php The plugin class under test.
i18nVariableTest::providerSource function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/d6/i18nVariableTest.php The data provider.
i18nVariableTest::testSource function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/d6/i18nVariableTest.php @dataProvider providerSource
@requires extension pdo_sqlite
@expectedDeprecation The Drupal\migrate_drupal\Plugin\migrate\source\d6\i18nVariable is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, use…
InstallerTestBase::refreshVariables function core/modules/simpletest/src/InstallerTestBase.php WebTestBase::refreshVariables() tries to operate on persistent storage,
which is only available after the installer completed.
InstallerTestBase::refreshVariables function core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php FunctionalTestSetupTrait::refreshVariables() tries to operate on persistent
storage, which is only available after the installer completed.
MigrateDefaultLanguageTest::testMigrationWithUnsetVariable function core/modules/language/tests/src/Kernel/Migrate/d7/MigrateDefaultLanguageTest.php Tests language_default migration with unset default language variable.
MigrateDefaultLanguageTest::testMigrationWithUnsetVariable function core/modules/language/tests/src/Kernel/Migrate/d6/MigrateDefaultLanguageTest.php Tests language_default migration with unset default language variable.
MigrateLanguageNegotiationSettingsTest::testLanguageNegotiationWithNonExistentVariables function core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageNegotiationSettingsTest.php Tests the migration with non-existent variables.
ParamConversionEnhancer::copyRawVariables function core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php Store a backup of the raw values that corresponding to the route pattern.

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