You are here

interface FruitInterface in Plug 7

Hierarchy

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\fruit
View source
interface FruitInterface {

  /**
   * Displays a fruit.
   *
   * @return string
   *   The fruit representation.
   */
  public function display();

}

Members

Namesort descending Modifiers Type Description Overrides
FruitInterface::display public function Displays a fruit. 1