Search for index

  1. Search 7.x for index
  2. Search 9.5.x for index
  3. Search 10.3.x for index
  4. Search 11.x for index
  5. Other projects
Title Object type File name Summary
AdminController::index function core/modules/system/src/Controller/AdminController.php Prints a listing of admin tasks, organized by module.
BaseFieldDefinition::$indexes property core/lib/Drupal/Core/Field/BaseFieldDefinition.php
comment_node_update_index function core/modules/comment/comment.module Implements hook_node_update_index().
Connection::$temporaryNameIndex property core/lib/Drupal/Core/Database/Connection.php An index used to generate unique temporary table names.
Connection::sqlFunctionSubstringIndex function core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php SQLite compatibility implementation for the SUBSTRING_INDEX() SQL function.
core.entity_view_mode.node.search_index.yml file core/modules/node/config/install/core.entity_view_mode.node.search_index.yml core/modules/node/config/install/core.entity_view_mode.node.search_index.yml
CounterTest::providerRowIndexes function core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php Provides some row index to test.
DatabaseLegacyTest::testDbAddIndex function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_add_index() function.
DatabaseLegacyTest::testDbDropIndex function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_drop_index() function.
DatabaseLegacyTest::testDbIndexExists function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_index_exists() function.
DbDumpCommand::getTableIndexes function core/lib/Drupal/Core/Command/DbDumpCommand.php Adds primary key, unique keys, and index information to the schema.
DbDumpTest::$originalTableIndexes property core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php An array of original table indexes (including primary and unique keys).
DbDumpTest::getTableIndexes function core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php Returns indexes for a given table.
db_add_index function core/includes/database.inc Adds an index.
db_drop_index function core/includes/database.inc Drops an index.
db_index_exists function core/includes/database.inc Checks if an index exists in the given table.
DefaultMenuLinkTreeManipulators::generateIndexAndSort function core/lib/Drupal/Core/Menu/DefaultMenuLinkTreeManipulators.php Generates a unique index and sorts by it.
DefaultMenuLinkTreeManipulatorsTest::testGenerateIndexAndSort function core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php Tests the generateIndexAndSort() tree manipulator.
EntityDecoupledTranslationRevisionsTest::$stepIndex property core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php The current edit sequence step index.
EntityDefinitionTestTrait::addBaseFieldIndex function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Adds a single-field index to the base field.
EntityDefinitionTestTrait::addBaseFieldIndex function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds a single-field index to the base field.
EntityDefinitionTestTrait::addEntityIndex function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Adds an index to the 'entity_test_update' entity type's base table.
EntityDefinitionTestTrait::addEntityIndex function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Adds an index to the 'entity_test_update' entity type's base table.
EntityDefinitionTestTrait::removeBaseFieldIndex function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Removes the index added in addBaseFieldIndex().
EntityDefinitionTestTrait::removeBaseFieldIndex function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Removes the index added in addBaseFieldIndex().
EntityDefinitionTestTrait::removeEntityIndex function core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php Removes the index added in addEntityIndex().
EntityDefinitionTestTrait::removeEntityIndex function core/modules/system/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Removes the index added in addEntityIndex().
EntityDefinitionUpdateTest::testCreateFieldAndIndexOnSharedTable function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Ensures that a new field and index on a shared table are created.
EntityDefinitionUpdateTest::testCreateIndexUsingEntityStorageSchemaWithData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Ensures that a new entity level index is created when data exists.
EntityDefinitionUpdateTest::testEntityIndexCreateDeleteWithoutData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating and deleting a multi-field index when there are no existing entities.
EntityDefinitionUpdateTest::testEntityIndexCreateWithData function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Tests creating a multi-field index when there are existing entities.
EntityDefinitionUpdateTest::testLongNameFieldIndexes function core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php Check that field schema is correctly handled with long-named fields.
EntryPoint::index function core/modules/jsonapi/src/Controller/EntryPoint.php Controller to list all the resources.
FieldDataCountTest::testCountWithIndex0 function core/modules/field/tests/src/Kernel/FieldDataCountTest.php Verify that we can count a table that contains an entry with index 0.
FieldPluginBase::$lastRenderIndex property core/modules/views/src/Plugin/views/field/FieldPluginBase.php Keeps track of the last render index.
FieldSqlStorageTest::testFieldUpdateIndexesWithData function core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php Test adding and removing indexes while data is present.
FieldStorageConfig::$indexes property core/modules/field/src/Entity/FieldStorageConfig.php The custom storage indexes for the field data storage.
FieldStorageConfig::getIndexes function core/modules/field/src/Entity/FieldStorageConfig.php Returns the custom storage indexes for the field data storage.
FieldStorageConfig::setIndexes function core/modules/field/src/Entity/FieldStorageConfig.php Sets the custom storage indexes for the field data storage..
FieldStorageConfigInterface::getIndexes function core/modules/field/src/FieldStorageConfigInterface.php Returns the custom storage indexes for the field data storage.
FieldStorageConfigInterface::setIndexes function core/modules/field/src/FieldStorageConfigInterface.php Sets the custom storage indexes for the field data storage..
FieldStorageCrudTest::testIndexes function core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php Test creation of indexes on data column.
forum.index_storage service core/modules/forum/forum.services.yml Drupal\forum\ForumIndexStorage
ForumController::forumIndex function core/modules/forum/src/Controller/ForumController.php Returns forum index page.
ForumIndexStorage class core/modules/forum/src/ForumIndexStorage.php Handles CRUD operations to {forum_index} table.
ForumIndexStorage.php file core/modules/forum/src/ForumIndexStorage.php
ForumIndexStorage::$database property core/modules/forum/src/ForumIndexStorage.php The active database connection.
ForumIndexStorage::create function core/modules/forum/src/ForumIndexStorage.php Creates a record in {forum} table for the given node.
ForumIndexStorage::createIndex function core/modules/forum/src/ForumIndexStorage.php Creates a {forum_index} entry for the given node.
ForumIndexStorage::delete function core/modules/forum/src/ForumIndexStorage.php Deletes the records in {forum} table for the given node.

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