You are here

public function AbstractProvider::getBehaviorService in Synonyms 8

Fetch behavior service which corresponds to this provider.

Return value

string Name of synonyms behavior service which corresponds to this provider

Overrides SynonymsProviderInterface::getBehaviorService

File

src/Plugin/Synonyms/Provider/AbstractProvider.php, line 49

Class

AbstractProvider
Good starting point for a synonyms provider plugin.

Namespace

Drupal\synonyms\Plugin\Synonyms\Provider

Code

public function getBehaviorService() {
  return $this
    ->getPluginDefinition()['synonyms_behavior_service'];
}