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
SchemaTest::testSchemaChangePrimaryKey function core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php Tests various schema changes' effect on the table's primary key.
SearchInterface::getKeywords function core/modules/search/src/Plugin/SearchInterface.php Returns the currently set keywords of the plugin instance.
SearchKeywordsConditionsTest class core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php Verify the search without keywords set and extra conditions.
SearchKeywordsConditionsTest.php file core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php
SearchKeywordsConditionsTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php The theme to install as the default for testing.
SearchKeywordsConditionsTest::$modules property core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php Modules to enable.
SearchKeywordsConditionsTest::$searchingUser property core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php A user with permission to search and post comments.
SearchKeywordsConditionsTest::setUp function core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php
SearchKeywordsConditionsTest::testSearchKeywordsConditions function core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php Verify the keywords are captured and conditions respected.
SearchPluginBase::$keywords property core/modules/search/src/Plugin/SearchPluginBase.php The keywords to use in a search.
SearchPluginBase::getKeywords function core/modules/search/src/Plugin/SearchPluginBase.php Returns the currently set keywords of the plugin instance.
SearchQuery::$keys property core/modules/search/src/SearchQuery.php Parsed-out positive and negative search keys.
SearchQuery::NO_KEYWORD_MATCHES constant core/modules/search/src/SearchQuery.php Indicates that no positive keyword matches were found.
SearchQuery::NO_POSITIVE_KEYWORDS constant core/modules/search/src/SearchQuery.php Indicates no positive keywords were in the search expression.
SectionStorageBase::getTempstoreKey function core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php Gets a string suitable for use as a tempstore key.
SelectProfileForm::CONFIG_INSTALL_PROFILE_KEY constant core/lib/Drupal/Core/Installer/Form/SelectProfileForm.php The key used in the profile list for the install from config option.
SharedTempStoreTest::$keyValue property core/modules/user/tests/src/Unit/SharedTempStoreTest.php The mock key value expirable backend.
SharedTempStoreTest::$keyValue property core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php The mock key value expirable backend.
Sort::DIRECTION_KEY constant core/modules/jsonapi/src/Query/Sort.php The direction key in the sort parameter: sort[lorem][<direction>].
Sort::KEY_NAME constant core/modules/jsonapi/src/Query/Sort.php The JSON:API sort key name.
Sort::LANGUAGE_KEY constant core/modules/jsonapi/src/Query/Sort.php The langcode key in the sort parameter: sort[lorem][<langcode>].
Sort::PATH_KEY constant core/modules/jsonapi/src/Query/Sort.php The field key in the sort parameter: sort[lorem][<field>].
SortArray::sortByKeyInt function core/lib/Drupal/Component/Utility/SortArray.php Sorts an integer array item by an arbitrary key.
SortArray::sortByKeyString function core/lib/Drupal/Component/Utility/SortArray.php Sorts a string array item by an arbitrary key.
SourcePluginBase::$cacheKey property core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php Key to use for caching counts.
SourcePluginBase::key function core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php Gets the iterator key.
Sql::$currentKey property core/modules/migrate/src/Plugin/migrate/id_map/Sql.php The current key.
Sql::key function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Implementation of \Iterator::key().
SqlContentEntityStorage::$defaultLangcodeKey property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php The default language entity key.
SqlContentEntityStorage::$langcodeKey property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php The entity langcode key.
SqlContentEntityStorage::$revisionKey property core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Name of entity's revision database table field, if it supports revisions.
SqlContentEntityStorageSchema::addSharedTableFieldForeignKey function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Adds a foreign key for the specified field to the given schema definition.
SqlContentEntityStorageSchema::addSharedTableFieldUniqueKey function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Adds a unique key for the specified field to the given schema definition.
SqlContentEntityStorageSchema::addUniqueKey function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Creates a unique key, dropping it if already existing.
SqlContentEntityStorageSchema::getColumnSchemaRelevantKeys function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Returns a list of column schema keys affecting data storage.
SqlContentEntityStorageSchema::getFieldForeignKeys function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets field foreign keys.
SqlContentEntityStorageSchema::getFieldUniqueKeys function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets a unique key schema array for a given field.
State::$keyValueStore property core/lib/Drupal/Core/State/State.php The key value store to use.
StateInterface::PLUGIN_FORM_KEY constant core/modules/workflows/src/StateInterface.php The key of the state plugin form.
Statement::fetchAllKeyed function core/lib/Drupal/Core/Database/Statement.php Returns the entire result set as a single associative array.
StatementEmpty::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementEmpty.php Returns the entire result set as a single associative array.
StatementEmpty::key function core/lib/Drupal/Core/Database/StatementEmpty.php
StatementInterface::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementInterface.php Returns the entire result set as a single associative array.
StatementPrefetch::$currentKey property core/lib/Drupal/Core/Database/StatementPrefetch.php The key of the current row.
StatementPrefetch::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementPrefetch.php Returns the entire result set as a single associative array.
StatementPrefetch::key function core/lib/Drupal/Core/Database/StatementPrefetch.php
StorageTestBase::testNonExistingKeys function core/tests/Drupal/KernelTests/Core/KeyValueStore/StorageTestBase.php Tests expected behavior for non-existing keys.
StringDatabaseStorage::dbStringKeys function core/modules/locale/src/StringDatabaseStorage.php Gets keys values that are in a database table.
StringLoader::getCacheKey function core/lib/Drupal/Core/Template/Loader/StringLoader.php
SubProcess::transformKey function core/modules/migrate/src/Plugin/migrate/process/SubProcess.php Runs the process pipeline for the key to determine its dynamic name.

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