Search for key

  1. Search 7.x for key
  2. Search 9.5.x for key
  3. Search 8.9.x for key
  4. Search 11.x for key
  5. Other projects
Title Object type File name Summary
AjaxFormImageButtonTest::testAjaxImageButtonKeypressEnter function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormImageButtonTest.php Tests image buttons can be operated with the keyboard ENTER key.
AjaxFormImageButtonTest::testAjaxImageButtonKeypressSpace function core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormImageButtonTest.php Tests image buttons can be operated with the keyboard SPACE key.
ApcuBackend::getApcuKey function core/lib/Drupal/Core/Cache/ApcuBackend.php Prepends the APCu user variable prefix for this bin to a cache item ID.
ArgumentsConfigArrayKey class core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php A stub class used by testGetInstanceArguments().
ArgumentsConfigArrayKey::__construct function core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php
ArrayElement::getAllKeys function core/lib/Drupal/Core/Config/Schema/ArrayElement.php Gets valid configuration data keys.
AssetQueryString::STATE_KEY constant core/lib/Drupal/Core/Asset/AssetQueryString.php The key used for state.
BrowserTestBaseTest::testHtKey function core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php Tests the protections provided by .htkey.
Cache::keyFromQuery function core/lib/Drupal/Core/Cache/Cache.php Generates a hash from a query object, to be used as part of the cache key.
CacheableRouteProviderInterface::addExtraCacheKeyPart function core/lib/Drupal/Core/Routing/CacheableRouteProviderInterface.php Adds a cache key part to be used in the cache ID of the route collection.
CacheCollector::$keysToPersist property core/lib/Drupal/Core/Cache/CacheCollector.php An array of keys to add to the cache on service termination.
CacheCollector::$keysToRemove property core/lib/Drupal/Core/Cache/CacheCollector.php An array of keys to remove from the cache on service termination.
CacheContextsManager::convertTokensToKeys function core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php Converts cache context tokens to cache keys.
CacheContextsManagerTest::testConvertTokensToKeys function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php @covers ::convertTokensToKeys[[api-linebreak]]
CachedStorage::getCacheKey function core/lib/Drupal/Core/Config/CachedStorage.php Returns a cache key for a configuration name using the collection.
CachedStorage::getCacheKeys function core/lib/Drupal/Core/Config/CachedStorage.php Returns a cache key map for an array of configuration names.
CacheTest::testKeyFromQuery function core/tests/Drupal/Tests/Core/Cache/CacheTest.php @covers ::keyFromQuery[[api-linebreak]]
@group legacy
CheckpointStorage::$keyValueStores property core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php The key value stores that store configuration changed for each checkpoint.
CheckpointStorage::CONFIG_COLLECTION_KEY constant core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php Used to store the list of collections in each checkpoint.
CheckpointStorage::getKeyValue function core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php Gets the key value storage for the provided checkpoint.
CheckpointStorage::KEY_VALUE_COLLECTION_PREFIX constant core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php Used as prefix to a config checkpoint collection.
ClassWithConstants::OTHER_KEY_ constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php
ClassWithConstants::OTHER_KEY_2 constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php
ClassWithConstants::SOME_KEY constant core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php
ComponentLoader::getCacheKey function core/lib/Drupal/Core/Template/Loader/ComponentLoader.php
ComponentNegotiator::generateCacheKey function core/lib/Drupal/Core/Theme/ComponentNegotiator.php Generates the cache key for the current theme and the provided component.
ConfigBase::validateKeys function core/lib/Drupal/Core/Config/ConfigBase.php Validates all keys in a passed in config array structure.
ConfigConfigurator::recursiveSortByKey function core/lib/Drupal/Core/Recipe/ConfigConfigurator.php Sorts an array recursively, by key, alphabetically.
ConfigConfiguratorTest::testExistingConfigWithKeysInDifferentOrder function core/tests/Drupal/KernelTests/Core/Recipe/ConfigConfiguratorTest.php
ConfigEntityBaseUnitTest::testToArrayIdKey function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php @covers ::toArray[[api-linebreak]]
ConfigEntityStorage::$uuidKey property core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php Name of entity's UUID database table field, if it supports UUIDs.
ConfigEntityType::$lookup_keys property core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php Keys that are stored key value store for fast lookup.
ConfigEntityType::getConfigDependencyKey function core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php Gets the key that is used to store configuration dependencies.
ConfigEntityType::getLookupKeys function core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php Gets the keys that are available for fast lookup.
ConfigEntityTypeInterface::getLookupKeys function core/lib/Drupal/Core/Config/Entity/ConfigEntityTypeInterface.php Gets the keys that are available for fast lookup.
ConfigEntityUpdater::SANDBOX_KEY constant core/lib/Drupal/Core/Config/Entity/ConfigEntityUpdater.php The key used to store information in the update sandbox.
ConfigEntityValidationTestBase::$propertiesWithRequiredKeys property core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php The config entity mapping properties with >=1 required keys.
ConfigEntityValidationTestBase::getRequiredPropertyKeys function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php Determines the config entity mapping properties with required keys.
ConfigEntityValidationTestBase::testRequiredPropertyKeysMissing function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php A property that is required must have a value (i.e. not NULL).
ConfigFactory::getCacheKeys function core/lib/Drupal/Core/Config/ConfigFactory.php The cache keys associated with the state of the config factory.
ConfigFactory::getConfigCacheKey function core/lib/Drupal/Core/Config/ConfigFactory.php Gets the static cache key for a given config name.
ConfigFactory::getConfigCacheKeys function core/lib/Drupal/Core/Config/ConfigFactory.php Gets all the cache keys that match the provided config name.
ConfigFactoryInterface::getCacheKeys function core/lib/Drupal/Core/Config/ConfigFactoryInterface.php The cache keys associated with the state of the config factory.
ConfigFormBase::CONFIG_KEY_TO_FORM_ELEMENT_MAP constant core/lib/Drupal/Core/Form/ConfigFormBase.php The $form_state key which stores a map of config keys to form elements.
ConfigFormBase::storeConfigKeyToFormElementMap function core/lib/Drupal/Core/Form/ConfigFormBase.php #after_build callback which stores a map of element names to config keys.
ConfigTargetTest::testIncorrectKey function core/modules/system/tests/src/Functional/Form/ConfigTargetTest.php Tests #config_target with an incorrect key.
ConfigTest::assertOverriddenKeys function core/tests/Drupal/Tests/Core/Config/ConfigTest.php Asserts that the correct keys are overridden.
Connection::$key property core/lib/Drupal/Core/Database/Connection.php The key representing this connection.
Connection::getKey function core/lib/Drupal/Core/Database/Connection.php Returns the key this connection is associated with.
Connection::setKey function core/lib/Drupal/Core/Database/Connection.php Tells this connection object what its key is.

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