class Banana in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Banana.php \Drupal\plugin_test\Plugin\plugin_test\fruit\Banana
- 9 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Banana.php \Drupal\plugin_test\Plugin\plugin_test\fruit\Banana
Plugin annotation
@Plugin(
id = "banana",
label = "Banana",
color = "yellow",
uses = {
"bread" = @Translation("Banana bread"),
"loaf" = @PluralTranslation(
singular = "@count loaf",
plural = "@count loaves"
)
}
)
Hierarchy
- class \Drupal\plugin_test\Plugin\plugin_test\fruit\Banana implements FruitInterface
Expanded class hierarchy of Banana
11 string references to 'Banana'
- AnnotatedClassDiscoveryTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Discovery/ AnnotatedClassDiscoveryTest.php - BlockManagerTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Block/ BlockManagerTest.php - CategoryAutocompleteTest::providerTestAutocompleteSuggestions in core/
modules/ block/ tests/ src/ Unit/ CategoryAutocompleteTest.php - Data provider for testAutocompleteSuggestions().
- CustomDirectoryAnnotatedClassDiscoveryTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Discovery/ CustomDirectoryAnnotatedClassDiscoveryTest.php - DefaultPluginManagerTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Plugin/ DefaultPluginManagerTest.php
File
- core/
modules/ system/ tests/ modules/ plugin_test/ src/ Plugin/ plugin_test/ fruit/ Banana.php, line 19
Namespace
Drupal\plugin_test\Plugin\plugin_test\fruitView source
class Banana implements FruitInterface {
}