search.index
Same name in other branches
- 9 core/modules/search/search.services.yml \search.index
- 8.9.x core/modules/search/search.services.yml \search.index
- 11.x 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/ 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
View source
- class: Drupal\search\SearchIndex
- arguments:
- - '@config.factory'
- - '@database'
- - '@database.replica'
- - '@cache_tags.invalidator'
- - '@search.text_processor'
- - '@datetime.time'
- tags:
- - { name: backend_overridable }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.