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 10.3.x for key
  5. Other projects
Title Object type File name Summary
PrivateKey.php file core/lib/Drupal/Core/PrivateKey.php
PrivateKey::$state property core/lib/Drupal/Core/PrivateKey.php The state service.
PrivateKey::create function core/lib/Drupal/Core/PrivateKey.php Creates a new private key.
PrivateKey::get function core/lib/Drupal/Core/PrivateKey.php Gets the private key.
PrivateKey::set function core/lib/Drupal/Core/PrivateKey.php Sets the private key.
PrivateKey::__construct function core/lib/Drupal/Core/PrivateKey.php Constructs the private key object.
PrivateKeyTest class core/tests/Drupal/Tests/Core/PrivateKeyTest.php Tests the PrivateKey class.
PrivateKeyTest.php file core/tests/Drupal/Tests/Core/PrivateKeyTest.php
PrivateKeyTest::$key property core/tests/Drupal/Tests/Core/PrivateKeyTest.php The random key to use in tests.
PrivateKeyTest::$privateKey property core/tests/Drupal/Tests/Core/PrivateKeyTest.php The private key service mock.
PrivateKeyTest::$state property core/tests/Drupal/Tests/Core/PrivateKeyTest.php The state mock class.
PrivateKeyTest::setUp function core/tests/Drupal/Tests/Core/PrivateKeyTest.php
PrivateKeyTest::testGet function core/tests/Drupal/Tests/Core/PrivateKeyTest.php Tests PrivateKey::get().
PrivateKeyTest::testGetNoState function core/tests/Drupal/Tests/Core/PrivateKeyTest.php Tests PrivateKey::get() with no private key from state.
PrivateKeyTest::testSet function core/tests/Drupal/Tests/Core/PrivateKeyTest.php Tests PrivateKey::setPrivateKey().
PrivateTempStore::createKey function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Ensures that the key is unique for a user.
PrivateTempStoreTest::$keyValue property core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php The mock key value expirable backend.
ProviderRepository::$keyValue property core/modules/media/src/OEmbed/ProviderRepository.php The key-value store.
ProviderRepositoryTest::$keyValue property core/modules/media/tests/src/Unit/ProviderRepositoryTest.php The key-value store.
Query::$connectionKey property core/lib/Drupal/Core/Database/Query/Query.php The key of the connection object.
Query::$keyValueFactory property core/lib/Drupal/Core/Config/Entity/Query/Query.php The key value factory.
Query::$keyValueFactory property core/lib/Drupal/Core/Entity/KeyValueStore/Query/Query.php The key value factory.
Query::getConfigKeyStore function core/lib/Drupal/Core/Config/Entity/Query/Query.php Gets the key value store used to store fast lookups.
QueryFactory::$keyValueFactory property core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php The key value factory.
QueryFactory::$keyValueFactory property core/lib/Drupal/Core/Entity/KeyValueStore/Query/QueryFactory.php The key value factory.
QueryFactory::deleteConfigKeyStore function core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php Deletes lookup data.
QueryFactory::getConfigKeyStore function core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php Gets the key value store used to store fast lookups.
QueryFactory::getKeys function core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php Creates lookup keys for configuration data.
QueryFactory::updateConfigKeyStore function core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php Updates or adds lookup data.
QueryFactoryTest::providerTestGetKeys function core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php
QueryFactoryTest::testGetKeys function core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php @covers ::getKeys
@covers ::getValues
QueryFactoryTest::testGetKeysWildCardEnd function core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php @covers ::getKeys
@covers ::getValues
Rearrange::getFormKey function core/modules/views_ui/src/Form/Ajax/Rearrange.php Returns the key that represents this form.
RearrangeFilter::arrayKeyPlus function core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php Adds one to each key of an array.
RearrangeFilter::getFormKey function core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php Returns the key that represents this form.
RelationshipRouteAccessCheck::ROUTE_REQUIREMENT_KEY constant core/modules/jsonapi/src/Access/RelationshipRouteAccessCheck.php The route requirement key for this access check.
RendererBubblingTest::testOverWriteCacheKeys function core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php Tests that an element's cache keys cannot be changed during its rendering.
ReorderDisplays::getFormKey function core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php Returns the key that represents this form.
RequestSanitizer::SANITIZE_INPUT_SAFE_KEYS constant core/lib/Drupal/Core/Security/RequestSanitizer.php The name of the setting that configures the sanitize input safe keys.
RequireEventTrait::getKeyedPackages function core/modules/package_manager/src/Event/RequireEventTrait.php Gets packages as a keyed array.
ResourceIdentifier::ARITY_KEY constant core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php
ResourceObjectNormalizationCacher::generateCacheKeys function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Generates the cache keys for a normalization.
ResourceResponseTestTrait::resetOmittedLinkKeys function core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php Resets omitted link keys.
ResourceTestBase::$uuidKey property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The UUID key.
ResourceVersionRouteEnhancer::REVISION_ID_KEY constant core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php The route default parameter name.
ResponsiveImageStyle::$keyedImageStyleMappings property core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php
ResponsiveImageStyle::getKeyedImageStyleMappings function core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php Returns the mappings of breakpoint ID and multiplier to image style.
ResponsiveImageStyleConfigEntityUnitTest::testGetKeyedImageStyleMappings function core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php @covers ::addImageStyleMapping
@covers ::getKeyedImageStyleMappings
ResponsiveImageStyleInterface::getKeyedImageStyleMappings function core/modules/responsive_image/src/ResponsiveImageStyleInterface.php Returns the mappings of breakpoint ID and multiplier to image style.
RouteProvider::$extraCacheKeyParts property core/lib/Drupal/Core/Routing/RouteProvider.php An array of cache key parts to be used for the route match cache.

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