Search for index

  1. Search 7.x for index
  2. Search 8.9.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/modules/sqlite/src/Driver/Database/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.
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.
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.
DropIndexAllOnKeyValueExpireTableUpdateTest class core/modules/system/tests/src/Functional/Update/DropIndexAllOnKeyValueExpireTableUpdateTest.php Tests that 'all' index is dropped from the 'key_value_expire' table.
DropIndexAllOnKeyValueExpireTableUpdateTest.php file core/modules/system/tests/src/Functional/Update/DropIndexAllOnKeyValueExpireTableUpdateTest.php
DropIndexAllOnKeyValueExpireTableUpdateTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/DropIndexAllOnKeyValueExpireTableUpdateTest.php Set database dump files to be used.
DropIndexAllOnKeyValueExpireTableUpdateTest::testUpdate function core/modules/system/tests/src/Functional/Update/DropIndexAllOnKeyValueExpireTableUpdateTest.php Tests that 'all' index is dropped from the 'key_value_expire' table.
EntityDecoupledTranslationRevisionsTest::$stepIndex property core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php The current edit sequence step index.
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/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/tests/src/Functional/Entity/Traits/EntityDefinitionTestTrait.php Removes the index added in addBaseFieldIndex().
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 Tests 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 Tests 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.
ForumIndexStorage::deleteIndex function core/modules/forum/src/ForumIndexStorage.php Deletes the {forum_index} records for a given node.
ForumIndexStorage::deleteRevision function core/modules/forum/src/ForumIndexStorage.php Deletes the records in {forum} table for a given node revision.
ForumIndexStorage::getOriginalTermId function core/modules/forum/src/ForumIndexStorage.php Returns the forum term id associated with an existing forum node.
ForumIndexStorage::read function core/modules/forum/src/ForumIndexStorage.php Reads an array of {forum} records for the given revision ids.
ForumIndexStorage::update function core/modules/forum/src/ForumIndexStorage.php Updates the {forum} table for the given node.
ForumIndexStorage::updateIndex function core/modules/forum/src/ForumIndexStorage.php Updates the {forum_index} records for a given node.

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