service search.index in Drupal 9
Same name and namespace in other branches
- 8 core/modules/search/search.services.yml \search.index
- 10 core/modules/search/search.services.yml \search.index
Class
Drupal\search\SearchIndexTags
- 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.
File
- core/
modules/ search/ search.services.yml - core/modules/search/search.services.yml
View source
- class: Drupal\search\SearchIndex
- arguments:
- - '@config.factory'
- - '@database'
- - '@database.replica'
- - '@cache_tags.invalidator'
- - '@search.text_processor'
- tags:
- - { name: backend_overridable }