search.index

Same name in other branches
  1. 9 core/modules/search/search.services.yml \search.index
  2. 8.9.x core/modules/search/search.services.yml \search.index
  3. 10 core/modules/search/search.services.yml \search.index

Class

Drupal\search\SearchIndex

Tags

  • backend_overridable
9 string references to search.index
HelpSearch::create in core/modules/help/src/Plugin/Search/HelpSearch.php
Node::preDelete in core/modules/node/src/Entity/Node.php
NodeSearch::create in core/modules/node/src/Plugin/Search/NodeSearch.php
SearchIndexTest::testSearchIndexServiceIsBackendOverridable in core/modules/search/tests/src/Kernel/SearchIndexTest.php
Test that the service "search.index" is backend overridable.
SearchMatchTest::_setup in core/modules/search/tests/src/Kernel/SearchMatchTest.php
Set up a small index of items to test against.

... See full list

File

core/modules/search/search.services.yml

View source
  1. class: Drupal\search\SearchIndex
  2. arguments:
  3. - '@config.factory'
  4. - '@database'
  5. - '@database.replica'
  6. - '@cache_tags.invalidator'
  7. - '@search.text_processor'
  8. - '@datetime.time'
  9. tags:
  10. - { name: backend_overridable }

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