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
RouteProvider::addExtraCacheKeyPart function core/lib/Drupal/Core/Routing/RouteProvider.php
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.
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
Schema::addPrimaryKey function core/modules/mysql/src/Driver/Database/mysql/Schema.php
Schema::addPrimaryKey function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
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
Schema::addUniqueKey function core/modules/mysql/src/Driver/Database/mysql/Schema.php
Schema::addUniqueKey function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
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
Schema::createKeysSql function core/modules/mysql/src/Driver/Database/mysql/Schema.php
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
Schema::dropPrimaryKey function core/modules/mysql/src/Driver/Database/mysql/Schema.php
Schema::dropPrimaryKey function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
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
Schema::dropUniqueKey function core/modules/mysql/src/Driver/Database/mysql/Schema.php
Schema::dropUniqueKey function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
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
Schema::findPrimaryKeyColumns function core/modules/mysql/src/Driver/Database/mysql/Schema.php
Schema::findPrimaryKeyColumns function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
Schema::mapKeyDefinition function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Utility method: rename columns in an index definition according to a new mapping.
Schema::_createKeys function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
Schema::_createKeySql function core/modules/pgsql/src/Driver/Database/pgsql/Schema.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
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
SchemaUniquePrefixedKeysIndexTest.php file core/modules/pgsql/tests/src/Kernel/pgsql/SchemaUniquePrefixedKeysIndexTest.php
SchemaUniquePrefixedKeysIndexTest::$columnValue property core/modules/sqlite/tests/src/Kernel/sqlite/SchemaUniquePrefixedKeysIndexTest.php
SchemaUniquePrefixedKeysIndexTest::$columnValue property core/modules/mysql/tests/src/Kernel/mysql/SchemaUniquePrefixedKeysIndexTest.php
SchemaUniquePrefixedKeysIndexTest::$columnValue property core/modules/pgsql/tests/src/Kernel/pgsql/SchemaUniquePrefixedKeysIndexTest.php
SchemaUniquePrefixedKeysIndexTestBase class core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests adding UNIQUE keys to tables.
SchemaUniquePrefixedKeysIndexTestBase.php file core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php
SchemaUniquePrefixedKeysIndexTestBase::$columnValue property core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Set the value used to test the schema unique prefixed keys index.
SchemaUniquePrefixedKeysIndexTestBase::checkUniqueConstraintException function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Verifies that inserting the same value/prefix twice causes an exception.

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