Apple |
core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php |
Plugin annotation
@Plugin(
id = "apple",
label = "Apple",
color = "green"
) |
Banana |
core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Banana.php |
Plugin annotation
@Plugin(
id = "banana",
label = "Banana",
color = "yellow",
uses = {
"bread" = @Translation("Banana bread")
}
) |
Cherry |
core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Cherry.php |
Plugin annotation
@Plugin(
id = "cherry",
label = "Cherry",
color = "red"
) |
FruitInterface |
core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/FruitInterface.php |
Provides an interface for test plugins. |
Kale |
core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Kale.php |
Plugin annotation
@Plugin(
id = "kale",
label = "Kale",
color = "green"
) |
NonAnnotatedClass |
core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/NonAnnotatedClass.php |
|
Orange |
core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Orange.php |
Plugin annotation
@Plugin(
id = "orange",
label = "Orange",
color = "orange"
) |