Plugin annotation
@Plugin(
id = "banana",
label = "Banana",
color = "yellow",
uses = {
"bread" = @Translation("Banana bread")
}
)
Hierarchy
- class \Drupal\plugin_test\Plugin\plugin_test\fruit\Banana
Expanded class hierarchy of Banana
File
- drupal/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/fruit/Banana.php, line 23
- Contains \Drupal\plugin_test\Plugin\plugin_test\fruit\Banana.
Namespace
Drupal\plugin_test\Plugin\plugin_test\fruit
Members