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
MappingTest::testInvalidMappingKeyDefinition function core/tests/Drupal/KernelTests/Config/Schema/MappingTest.php @testWith [false, 42, "The mapping definition at `foobar` is invalid: its `invalid` key contains a integer. It must be an array."]
[false, 10.2, "The mapping definition at `foobar` is invalid: its `invalid` key contains a double. It…
MappingTest::testInvalidRequiredKeyFlag function core/tests/Drupal/KernelTests/Config/Schema/MappingTest.php @testWith [true]
[1]
["true"]
[0]
["false"]
MenuListBuilder::SORT_KEY constant core/modules/menu_ui/src/MenuListBuilder.php The entity key to sort the list by.
Merge::key function core/lib/Drupal/Core/Database/Query/Merge.php Sets a single key field to be used as condition for this query.
Merge::keys function core/lib/Drupal/Core/Database/Query/Merge.php Sets the key fields to be used as conditions for this query.
MigrateSourceTest::testCountCacheKey function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Tests that the key can be set for the count cache.
MigrateStubTest::testInvalidSourceIdKeys function core/modules/migrate/tests/src/Kernel/MigrateStubTest.php Tests invalid source ids keys.
ModuleHandler::$includeFileKeys property core/lib/Drupal/Core/Extension/ModuleHandler.php A list of module include file keys.
ModulesListConfirmForm::$keyValueExpirable property core/modules/system/src/Form/ModulesListConfirmForm.php The expirable key value store.
ModulesListForm::$keyValueExpirable property core/modules/system/src/Form/ModulesListForm.php The expirable key value store.
ModulesUninstallConfirmForm::$keyValueExpirable property core/modules/system/src/Form/ModulesUninstallConfirmForm.php The expirable key value store.
ModulesUninstallForm::$keyValueExpirable property core/modules/system/src/Form/ModulesUninstallForm.php The expirable key value store.
MonkeysInTheControlRoom class core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php A http middleware designed to cause bedlam.
MonkeysInTheControlRoom.php file core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php
MonkeysInTheControlRoom::$app property core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php The app kernel.
MonkeysInTheControlRoom::$settings property core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php The settings.
MonkeysInTheControlRoom::handle function core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php
MonkeysInTheControlRoom::__construct function core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php MonkeysInTheControlRoom constructor.
MoveBlockFormTest::moveBlockWithKeyboard function core/modules/layout_builder/tests/src/FunctionalJavascript/MoveBlockFormTest.php Moves a block in the draggable table.
Mysql8RequirePrimaryKeyUpdateTest class core/modules/mysql/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php Tests updates MySQL 8 when sql_require_primary_key is on.
Mysql8RequirePrimaryKeyUpdateTest.php file core/modules/mysql/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php
Mysql8RequirePrimaryKeyUpdateTest::prepareSettings function core/modules/mysql/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php Add settings that are missed since the installer isn't run.
Mysql8RequirePrimaryKeyUpdateTest::runDbTasks function core/modules/mysql/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php Runs the install database tasks for the driver used by the test runner.
Mysql8RequirePrimaryKeyUpdateTest::setDatabaseDumpFiles function core/modules/mysql/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php Set database dump files to be used.
Mysql8RequirePrimaryKeyUpdateTest::testDatabaseLoaded function core/modules/mysql/tests/src/Functional/Mysql8RequirePrimaryKeyUpdateTest.php Tests updates.
NestedArray::keyExists function core/lib/Drupal/Component/Utility/NestedArray.php Determines whether a nested array contains the requested keys.
NestedArrayTest::testKeyExists function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests existence of array key.
NestedArrayTest::testMergeExplicitKeys function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests that even with explicit keys, values are appended, not merged.
NestedArrayTest::testMergeImplicitKeys function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests that arrays with implicit keys are appended, not merged.
NestedArrayTest::testMergeOutOfSequenceKeys function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests that array keys values on the first array are ignored when merging.
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.
NonPublicSchemaTest::testPrimaryKey function core/modules/pgsql/tests/src/Kernel/pgsql/NonPublicSchemaTest.php @covers ::addPrimaryKey
@covers ::dropPrimaryKey
NonPublicSchemaTest::testUniqueKey function core/modules/pgsql/tests/src/Kernel/pgsql/NonPublicSchemaTest.php @covers ::addUniqueKey
@covers ::indexExists
@covers ::dropUniqueKey
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
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.

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