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
ResultBase::fetchAllKeyed function core/lib/Drupal/Core/Database/Statement/ResultBase.php Returns the entire result set as a single associative array.
RouteProvider::$extraCacheKeyParts property core/lib/Drupal/Core/Routing/RouteProvider.php An array of cache key parts to be used for the route match cache.
RouteProvider::addExtraCacheKeyPart function core/lib/Drupal/Core/Routing/RouteProvider.php Adds a cache key part to be used in the cache ID of the route collection.
Routes::JSON_API_ROUTE_FLAG_KEY constant core/modules/jsonapi/src/Routing/Routes.php A key with which to flag a route as belonging to the JSON:API module.
Routes::RESOURCE_TYPE_KEY constant core/modules/jsonapi/src/Routing/Routes.php The route default key for the route's resource type information.
SandboxManagerBase::TEMPSTORE_APPLY_TIME_KEY constant core/modules/package_manager/src/SandboxManagerBase.php The tempstore key under which to store the time that ::apply() was called.
SandboxManagerBase::TEMPSTORE_LOCK_KEY constant core/modules/package_manager/src/SandboxManagerBase.php The tempstore key under which to store the locking info for this stage.
SandboxManagerBase::TEMPSTORE_METADATA_KEY constant core/modules/package_manager/src/SandboxManagerBase.php The tempstore key under which to store arbitrary metadata for this stage.
SandboxManagerBase::TEMPSTORE_STAGING_ROOT_KEY constant core/modules/package_manager/src/SandboxManagerBase.php The tempstore key under which to store the path of stage root directory.
ScanDirectoryTest::testOptionKey function core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php Check that key parameter sets the return value's key.
Schema::addPrimaryKey function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Add a primary key.
Schema::addPrimaryKey function core/modules/mysql/src/Driver/Database/mysql/Schema.php Add a primary key.
Schema::addPrimaryKey function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Add a primary key.
Schema::addPrimaryKey function core/lib/Drupal/Core/Database/Schema.php Add a primary key.
Schema::addUniqueKey function core/lib/Drupal/Core/Database/Schema.php Add a unique key.
Schema::addUniqueKey function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Add a unique key.
Schema::addUniqueKey function core/modules/mysql/src/Driver/Database/mysql/Schema.php Add a unique key.
Schema::addUniqueKey function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Add a unique key.
Schema::createKeySql function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Build the SQL expression for keys.
Schema::createKeySql function core/modules/mysql/src/Driver/Database/mysql/Schema.php Creates an SQL key for the given fields.
Schema::createKeysSql function core/modules/mysql/src/Driver/Database/mysql/Schema.php Creates the keys for an SQL table.
Schema::createPrimaryKeySql function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Create the SQL expression for primary and unique keys.
Schema::dropPrimaryKey function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Drop the primary key.
Schema::dropPrimaryKey function core/modules/mysql/src/Driver/Database/mysql/Schema.php Drop the primary key.
Schema::dropPrimaryKey function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Drop the primary key.
Schema::dropPrimaryKey function core/lib/Drupal/Core/Database/Schema.php Drop the primary key.
Schema::dropUniqueKey function core/lib/Drupal/Core/Database/Schema.php Drop a unique key.
Schema::dropUniqueKey function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Drop a unique key.
Schema::dropUniqueKey function core/modules/mysql/src/Driver/Database/mysql/Schema.php Drop a unique key.
Schema::dropUniqueKey function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Drop a unique key.
Schema::ensureNotNullPrimaryKey function core/lib/Drupal/Core/Database/Schema.php Ensures that all the primary key fields are correctly defined.
Schema::findPrimaryKeyColumns function core/lib/Drupal/Core/Database/Schema.php Finds the primary key columns of a table, from the database.
Schema::findPrimaryKeyColumns function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Finds the primary key columns of a table, from the database.
Schema::findPrimaryKeyColumns function core/modules/mysql/src/Driver/Database/mysql/Schema.php Finds the primary key columns of a table, from the database.
Schema::findPrimaryKeyColumns function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Finds the primary key columns of a table, from the database.
Schema::mapKeyDefinition function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Renames columns in an index definition according to a new mapping.
Schema::_createKeys function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Adds keys for an SQL table.
Schema::_createKeySql function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Creates the SQL key for the given fields.
SchemaPrimaryKeyMustBeDroppedException class core/lib/Drupal/Core/Database/Exception/SchemaPrimaryKeyMustBeDroppedException.php Exception thrown if the Primary Key must be dropped before an operation.
SchemaPrimaryKeyMustBeDroppedException.php file core/lib/Drupal/Core/Database/Exception/SchemaPrimaryKeyMustBeDroppedException.php
SchemaTableKeyTooLargeException class core/lib/Drupal/Core/Database/Exception/SchemaTableKeyTooLargeException.php Exception thrown if a key is too large.
SchemaTableKeyTooLargeException.php file core/lib/Drupal/Core/Database/Exception/SchemaTableKeyTooLargeException.php
SchemaTest::testGeneratedInvisiblePrimaryKey function core/modules/mysql/tests/src/Kernel/mysql/SchemaTest.php Tests adding a primary key when sql_generate_invisible_primary_key is on.
SchemaTest::testReservedKeywordsForNaming function core/modules/pgsql/tests/src/Kernel/pgsql/SchemaTest.php Tests handling with reserved keywords for naming tables, fields and more.
SchemaTest::testSchemaTableKeyTooLargeException function core/modules/mysql/tests/src/Kernel/mysql/SchemaTest.php Tests SchemaTableKeyTooLargeException.
SchemaUniquePrefixedKeysIndexTest class core/modules/sqlite/tests/src/Kernel/sqlite/SchemaUniquePrefixedKeysIndexTest.php Tests adding UNIQUE keys to tables.
SchemaUniquePrefixedKeysIndexTest class core/modules/mysql/tests/src/Kernel/mysql/SchemaUniquePrefixedKeysIndexTest.php Tests adding UNIQUE keys to tables.
SchemaUniquePrefixedKeysIndexTest class core/modules/pgsql/tests/src/Kernel/pgsql/SchemaUniquePrefixedKeysIndexTest.php Tests adding UNIQUE keys to tables.
SchemaUniquePrefixedKeysIndexTest.php file core/modules/sqlite/tests/src/Kernel/sqlite/SchemaUniquePrefixedKeysIndexTest.php
SchemaUniquePrefixedKeysIndexTest.php file core/modules/mysql/tests/src/Kernel/mysql/SchemaUniquePrefixedKeysIndexTest.php

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