Search for key

  1. Search 7.x for key
  2. Search 8.9.x for key
  3. Search 10.3.x for key
  4. Search 11.x for key
  5. Other projects
Title Object type File name Summary
NodeTranslationExceptionSubscriber::$keyValue property core/modules/node/src/EventSubscriber/NodeTranslationExceptionSubscriber.php The key value factory.
NodeTranslationMigrateSubscriber::$keyValue property core/modules/node/src/EventSubscriber/NodeTranslationMigrateSubscriber.php The key value factory.
NullIdMap::key function core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php
OffsetPage::KEY_NAME constant core/modules/jsonapi/src/Query/OffsetPage.php The JSON:API pagination key name.
OffsetPage::OFFSET_KEY constant core/modules/jsonapi/src/Query/OffsetPage.php The offset key in the page parameter: page[offset].
OffsetPage::SIZE_KEY constant core/modules/jsonapi/src/Query/OffsetPage.php The size key in the page parameter: page[limit].
OptionsKeyFormatter class core/modules/options/src/Plugin/Field/FieldFormatter/OptionsKeyFormatter.php Plugin implementation of the 'list_key' formatter.
OptionsKeyFormatter.php file core/modules/options/src/Plugin/Field/FieldFormatter/OptionsKeyFormatter.php
OptionsKeyFormatter::viewElements function core/modules/options/src/Plugin/Field/FieldFormatter/OptionsKeyFormatter.php Builds a renderable array for a field value.
OverridesSectionStorage::getTempstoreKey function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Gets a string suitable for use as a tempstore key.
OverridesSectionStorageTest::testGetTempstoreKey function core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php @covers ::getTempstoreKey
PermissionsHashGenerator::$privateKey property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The private key service.
PermissionsHashGeneratorTest::$privateKey property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked private key service.
PrivateKey class core/lib/Drupal/Core/PrivateKey.php Manages the Drupal private key.
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.
private_key service core/core.services.yml Drupal\Core\PrivateKey
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.

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