interface BehaviorInterface in Synonyms 2.0.x
Interface of a synonyms behavior. All behaviors must implement it.
Hierarchy
- interface \Drupal\synonyms\BehaviorInterface\BehaviorInterface
Expanded class hierarchy of BehaviorInterface
All classes that implement BehaviorInterface
4 files declare their use of BehaviorInterface
- AutocompleteService.php in modules/
synonyms_autocomplete/ src/ SynonymsService/ Behavior/ AutocompleteService.php - BehaviorService.php in src/
SynonymsService/ BehaviorService.php - SearchService.php in modules/
synonyms_search/ src/ SynonymsService/ Behavior/ SearchService.php - SelectService.php in modules/
synonyms_select/ src/ SynonymsService/ Behavior/ SelectService.php
File
- src/
BehaviorInterface/ BehaviorInterface.php, line 8
Namespace
Drupal\synonyms\BehaviorInterfaceView source
interface BehaviorInterface {
/**
* Get machine readable ID of this behavior.
*
* @return string
* The return ID
*/
public function getId();
/**
* Get human readable title of this behavior.
*
* @return string
* The return title
*/
public function getTitle();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BehaviorInterface:: |
public | function | Get machine readable ID of this behavior. | 3 |
BehaviorInterface:: |
public | function | Get human readable title of this behavior. | 3 |