Apple |
drupal/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/fruit/Apple.php |
Plugin annotation
@Plugin(
id = "apple",
label = "Apple",
color = "green"
) |
Banana |
drupal/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/fruit/Banana.php |
Plugin annotation
@Plugin(
id = "banana",
label = "Banana",
color = "yellow",
uses = {
"bread" = @Translation("Banana bread")
}
) |
Cherry |
drupal/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/fruit/Cherry.php |
Plugin annotation
@Plugin(
id = "cherry",
label = "Cherry",
color = "red"
) |
Orange |
drupal/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/fruit/Orange.php |
Plugin annotation
@Plugin(
id = "orange",
label = "Orange",
color = "orange"
) |