You are here

public function SearchService::getId in Synonyms 2.0.x

Get machine readable ID of this behavior.

Return value

string The return ID

Overrides BehaviorInterface::getId

1 call to SearchService::getId()
SearchService::entityView in modules/synonyms_search/src/SynonymsService/Behavior/SearchService.php
Implementation of hook_entity_view().

File

modules/synonyms_search/src/SynonymsService/Behavior/SearchService.php, line 76

Class

SearchService
Expose synonyms of referenced entities to core Search index.

Namespace

Drupal\synonyms_search\SynonymsService\Behavior

Code

public function getId() {
  return 'search';
}