interface FruitInterface in Plug 7
Hierarchy
- interface \Drupal\plug_example\Plugin\fruit\FruitInterface
Expanded class hierarchy of FruitInterface
All classes that implement FruitInterface
File
- modules/
plug_example/ src/ Plugin/ fruit/ FruitInterface.php, line 10 - Contains Drupal\plug_example\Plugin\fruit\FruitInterface
Namespace
Drupal\plug_example\Plugin\fruitView source
interface FruitInterface {
/**
* Displays a fruit.
*
* @return string
* The fruit representation.
*/
public function display();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FruitInterface:: |
public | function | Displays a fruit. | 1 |