You are here

service search.index in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/search/search.services.yml \search.index
  2. 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_topics/src/Plugin/Search/HelpSearch.php
Creates an instance of the plugin.
Node::preDelete in core/modules/node/src/Entity/Node.php
Acts on entities before they are deleted and before hooks are invoked.
NodeSearch::create in core/modules/node/src/Plugin/Search/NodeSearch.php
Creates an instance of the plugin.
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
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. tags:
  9. - { name: backend_overridable }