Search for key

  1. Search 7.x for key
  2. Search 9.5.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
AliasManager::$cacheKey property core/lib/Drupal/Core/Path/AliasManager.php The cache key to use when caching paths.
AliasManager::setCacheKey function core/lib/Drupal/Core/Path/AliasManager.php Specify the key to use when writing the cache.
CKEditorIntegrationTest::openMetadataDialogWithKeyPress function core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php Focuses on `Edit media` button and presses the given key.
CKEditorIntegrationTest::RETURN_KEY constant core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php The character code for the return key.
CommentActionsTest::testCommentUnpublishByKeyword function core/modules/comment/tests/src/Functional/CommentActionsTest.php Tests the unpublish comment by keyword action.
CommentUpdateTest::testOwnerEntityKey function core/modules/comment/tests/src/Functional/Update/CommentUpdateTest.php Tests that the comment entity type has an 'owner' entity key.
CommentUpdateTest::testPublishedEntityKey function core/modules/comment/tests/src/Functional/Update/CommentUpdateTest.php Tests that the comment entity type has a 'published' entity key.
ContentModerationUpdateTest::testOwnerEntityKey function core/modules/content_moderation/tests/src/Functional/Update/ContentModerationUpdateTest.php Tests that the content moderation state entity has an 'owner' entity key.
DatabaseLegacyTest::testDbAddPrimaryKey function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_add_primary_key() function.
DatabaseLegacyTest::testDbAddUniqueKey function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_add_unique_key() function.
DatabaseLegacyTest::testDbDropPrimaryKey function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_drop_primary_key() function.
DatabaseLegacyTest::testDbDropUniqueKey function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_drop_unique_key() function.
db_add_primary_key function core/includes/database.inc Adds a primary key to a database table.
db_add_unique_key function core/includes/database.inc Adds a unique key.
db_drop_primary_key function core/includes/database.inc Drops the primary key of a database table.
db_drop_unique_key function core/includes/database.inc Drops a unique key.
drupal-8.theme-dependencies-in-module-key-2904550.php file core/modules/layout_discovery/tests/fixtures/update/drupal-8.theme-dependencies-in-module-key-2904550.php Contains database additions to drupal-8.4.0.bare.standard.php.gz for testing
upgrade path of https://www.drupal.org/project/drupal/issues/2904550.
EntityDefinitionTestTrait::makeBaseFieldEntityKey function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Promotes a field to an entity key.
FileUpdateTest::testOwnerEntityKey function core/modules/file/tests/src/Functional/Update/FileUpdateTest.php Tests that the file entity type has an 'owner' entity key.
KernelTestBase::$keyValueFactory property core/modules/simpletest/src/KernelTestBase.php A KeyValueMemoryFactory instance to use when building the container.
LayoutBuilderQuickEditTest::replaceLayoutBuilderFieldIdKeys function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderQuickEditTest.php Replaces the array keys with Layout Builder field IDs when needed.
MediaUpdateTest::testOwnerEntityKey function core/modules/media/tests/src/Functional/Update/MediaUpdateTest.php Tests that the media entity type has an 'owner' entity key.
MenuLinkContentUpdateTest::testPublishedEntityKeyAddition function core/modules/menu_link_content/tests/src/Functional/Update/MenuLinkContentUpdateTest.php Tests the addition of the publishing status entity key.
MoveRevisionMetadataFieldsUpdateTest::testAddingRequiredRevisionMetadataKeys function core/modules/system/tests/src/Functional/Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php Tests the addition of required revision metadata keys.
NodeUpdateTest::testOwnerEntityKey function core/modules/node/tests/src/Functional/Update/NodeUpdateTest.php Tests that the node entity type has an 'owner' entity key.
NodeUpdateTest::testPublishedEntityKey function core/modules/node/tests/src/Functional/Update/NodeUpdateTest.php Tests that the node entity type has a 'published' entity key.
PrivateTempStoreTest::$keyValue property core/modules/user/tests/src/Unit/PrivateTempStoreTest.php The mock key value expirable backend.
SharedTempStoreTest::$keyValue property core/modules/user/tests/src/Unit/SharedTempStoreTest.php The mock key value expirable backend.
TempstoreKeyUpdatePathTest class core/modules/layout_builder/tests/src/Functional/Update/TempstoreKeyUpdatePathTest.php Tests the upgrade path for Layout Builder tempstore keys.
TempstoreKeyUpdatePathTest.php file core/modules/layout_builder/tests/src/Functional/Update/TempstoreKeyUpdatePathTest.php
TempstoreKeyUpdatePathTest::setDatabaseDumpFiles function core/modules/layout_builder/tests/src/Functional/Update/TempstoreKeyUpdatePathTest.php Set database dump files to be used.
TempstoreKeyUpdatePathTest::testRunUpdates function core/modules/layout_builder/tests/src/Functional/Update/TempstoreKeyUpdatePathTest.php Tests the upgrade path for Layout Builder extra fields.
TestDiscoveryCacheContext::$privateKey property core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php The private key service.
TestEntityType::setKey function core/modules/views/tests/src/Unit/EntityViewsDataTest.php Sets a specific entity key.

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