Newer
Older
Angie Byron
committed
<?php
/**
* @file
* Contains \Drupal\plugin_test\Plugin\plugin_test\fruit\Banana.
*/
namespace Drupal\plugin_test\Plugin\plugin_test\fruit;
/**
* @Plugin(
* id = "banana",
* label = "Banana",
* color = "yellow",
* uses = {
* "bread" = @Translation("Banana bread"),
* "loaf" = @PluralTranslation(
* singular = "@count loaf",
* plural = "@count loaves"
* )
Angie Byron
committed
* }
* )
*/
Alex Pott
committed
class Banana implements FruitInterface {