interface SynonymsProviderInterface in Synonyms 8
Most generic synonyms provider interface. All providers must implement it.
Hierarchy
- interface \Drupal\synonyms\SynonymsProviderInterface\SynonymsProviderInterface
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\SynonymsProviderInterfaceView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SynonymsProviderInterface:: |
public | function | Fetch behavior service which corresponds to this provider. | 1 |
SynonymsProviderInterface:: |
public | function | Fetch behavior service instance which corresponds to this provider. | 1 |