You are here

interface SynonymsProviderInterface in Synonyms 8

Most generic synonyms provider interface. All providers must implement it.

Hierarchy

Expanded class hierarchy of SynonymsProviderInterface

All classes that implement SynonymsProviderInterface

2 files declare their use of SynonymsProviderInterface
AbstractProvider.php in src/Plugin/Synonyms/Provider/AbstractProvider.php
SynonymsProviderPluginManager.php in src/SynonymsProviderPluginManager.php

File

src/SynonymsProviderInterface/SynonymsProviderInterface.php, line 8

Namespace

Drupal\synonyms\SynonymsProviderInterface
View source
interface SynonymsProviderInterface {

  /**
   * Fetch behavior service which corresponds to this provider.
   *
   * @return string
   *   Name of synonyms behavior service which corresponds to this provider
   */
  public function getBehaviorService();

  /**
   * Fetch behavior service instance which corresponds to this provider.
   *
   * @return \Drupal\synonyms\SynonymsService\Behavior\SynonymsBehaviorInterface
   *   The return value
   */
  public function getBehaviorServiceInstance();

}

Members

Namesort descending Modifiers Type Description Overrides
SynonymsProviderInterface::getBehaviorService public function Fetch behavior service which corresponds to this provider. 1
SynonymsProviderInterface::getBehaviorServiceInstance public function Fetch behavior service instance which corresponds to this provider. 1