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
ResponsiveImageStyle::getKeyedImageStyleMappings function core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php Returns the mappings of breakpoint ID and multiplier to image style.
ResponsiveImageStyleConfigEntityUnitTest::testGetKeyedImageStyleMappings function core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php @covers ::addImageStyleMapping
@covers ::getKeyedImageStyleMappings
ResponsiveImageStyleInterface::getKeyedImageStyleMappings function core/modules/responsive_image/src/ResponsiveImageStyleInterface.php Returns the mappings of breakpoint ID and multiplier to image style.
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.
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 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 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.
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
SchemaUniquePrefixedKeysIndexTest.php file core/modules/pgsql/tests/src/Kernel/pgsql/SchemaUniquePrefixedKeysIndexTest.php
SchemaUniquePrefixedKeysIndexTest::$columnValue property core/modules/sqlite/tests/src/Kernel/sqlite/SchemaUniquePrefixedKeysIndexTest.php Set the value used to test the schema unique prefixed keys index.
SchemaUniquePrefixedKeysIndexTest::$columnValue property core/modules/mysql/tests/src/Kernel/mysql/SchemaUniquePrefixedKeysIndexTest.php Set the value used to test the schema unique prefixed keys index.
SchemaUniquePrefixedKeysIndexTest::$columnValue property core/modules/pgsql/tests/src/Kernel/pgsql/SchemaUniquePrefixedKeysIndexTest.php Set the value used to test the schema unique prefixed keys index.

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