You are here

interface BehaviorInterface in Synonyms 2.0.x

Interface of a synonyms behavior. All behaviors must implement it.

Hierarchy

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\BehaviorInterface
View 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

Namesort descending Modifiers Type Description Overrides
BehaviorInterface::getId public function Get machine readable ID of this behavior. 3
BehaviorInterface::getTitle public function Get human readable title of this behavior. 3