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
RelationshipFieldAccess::ROUTE_REQUIREMENT_KEY constant core/modules/jsonapi/src/Access/RelationshipFieldAccess.php The route requirement key for this access check.
RendererBubblingTest::testOverWriteCacheKeys function core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php Tests that an element's cache keys cannot be changed during its rendering.
ReorderDisplays::getFormKey function core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php Returns the key that represents this form.
ResourceIdentifier::ARITY_KEY constant core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php
ResourceResponseTestTrait::resetOmittedLinkKeys function core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php Resets omitted link keys.
ResourceTestBase::$uuidKey property core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php The UUID key.
ResourceVersionRouteEnhancer::REVISION_ID_KEY constant core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php The route default parameter name.
ResponsiveImageStyle::$keyedImageStyleMappings property core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php
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.
RevisionLogEntityTrait::getRevisionMetadataKey function core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php Gets the name of a revision metadata field.
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/lib/Drupal/Core/Database/Driver/sqlite/Schema.php Add a primary key.
Schema::addPrimaryKey function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Add a primary key.
Schema::addPrimaryKey function core/lib/Drupal/Core/Database/Driver/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/Driver/sqlite/Schema.php Add a unique key.
Schema::addUniqueKey function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Add a unique key.
Schema::addUniqueKey function core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php Add a unique key.
Schema::addUniqueKey function core/lib/Drupal/Core/Database/Schema.php Add a unique key.
Schema::createKeySql function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php
Schema::createKeySql function core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php Build the SQL expression for keys.
Schema::createKeysSql function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php
Schema::createPrimaryKeySql function core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php Create the SQL expression for primary keys.
Schema::dropPrimaryKey function core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php Drop the primary key.
Schema::dropPrimaryKey function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Drop the primary key.
Schema::dropPrimaryKey function core/lib/Drupal/Core/Database/Driver/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/Driver/sqlite/Schema.php Drop a unique key.
Schema::dropUniqueKey function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Drop a unique key.
Schema::dropUniqueKey function core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php Drop a unique key.
Schema::dropUniqueKey function core/lib/Drupal/Core/Database/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/Driver/sqlite/Schema.php Finds the primary key columns of a table, from the database.
Schema::findPrimaryKeyColumns function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Finds the primary key columns of a table, from the database.
Schema::findPrimaryKeyColumns function core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php Finds the primary key columns of a table, from the database.
Schema::findPrimaryKeyColumns function core/lib/Drupal/Core/Database/Schema.php Finds the primary key columns of a table, from the database.
Schema::mapKeyDefinition function core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php Utility method: rename columns in an index definition according to a new mapping.
Schema::_createKeys function core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
Schema::_createKeySql function core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php
SchemaTest::providerTestSchemaCreateTablePrimaryKey function core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php Provides test cases for SchemaTest::testSchemaCreateTablePrimaryKey().
SchemaTest::testFindPrimaryKeyColumns function core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php @covers ::findPrimaryKeyColumns
SchemaTest::testInvalidPrimaryKeyAddition function core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php Tests adding an invalid field specification as a primary key.
SchemaTest::testInvalidPrimaryKeyChange function core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php Tests changing the primary key with an invalid field specification.
SchemaTest::testInvalidPrimaryKeyOnTableCreation function core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php Tests an invalid field specification as a primary key on table creation.

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