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
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
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 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.
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.
SchemaUniquePrefixedKeysIndexTestBase::testAddField function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests adding a new field with UNIQUE key.
SchemaUniquePrefixedKeysIndexTestBase::testAddUniqueKey function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests adding a UNIQUE key to an existing table.
SchemaUniquePrefixedKeysIndexTestBase::testChangeField function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests changing a field to add a UNIQUE key.
SchemaUniquePrefixedKeysIndexTestBase::testCreateTable function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests UNIQUE keys put directly on the table definition.
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 install.
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.

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