class Apple
Same name in other branches
- 9 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php \Drupal\plugin_test\Plugin\plugin_test\fruit\Apple
- 10 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php \Drupal\plugin_test\Plugin\plugin_test\fruit\Apple
- 11.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php \Drupal\plugin_test\Plugin\plugin_test\fruit\Apple
- 11.x core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php \Drupal\Tests\Core\Entity\Apple
- 10 core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php \Drupal\Tests\Core\Entity\Apple
Plugin annotation
@Plugin(
id = "apple",
label = "Apple",
color = "green"
)
Hierarchy
- class \Drupal\plugin_test\Plugin\plugin_test\fruit\Apple implements \Drupal\plugin_test\Plugin\plugin_test\fruit\FruitInterface
Expanded class hierarchy of Apple
44 string references to 'Apple'
- AnnotatedClassDiscoveryTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Discovery/ AnnotatedClassDiscoveryTest.php - AnnotatedClassDiscoveryTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Discovery/ AnnotatedClassDiscoveryTest.php - AttributeTest::testChainAddRemoveClasses in core/
tests/ Drupal/ Tests/ Core/ Template/ AttributeTest.php - Tests removing class attributes with the Attribute helper methods. @covers ::removeClass @covers ::addClass
- BlockManagerTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Block/ BlockManagerTest.php - CategorizingPluginManager::getDefinitions in core/
tests/ Drupal/ Tests/ Core/ Plugin/ CategorizingPluginManagerTraitTest.php - Provides some test definitions to the trait.
File
-
core/
modules/ system/ tests/ modules/ plugin_test/ src/ Plugin/ plugin_test/ fruit/ Apple.php, line 12
Namespace
Drupal\plugin_test\Plugin\plugin_test\fruitView source
class Apple implements FruitInterface {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.