You are here

class Apple in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php \Drupal\plugin_test\Plugin\plugin_test\fruit\Apple
  2. 10 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php \Drupal\plugin_test\Plugin\plugin_test\fruit\Apple

Plugin annotation


@Plugin(
  id = "apple",
  label = "Apple",
  color = "green"
)

Hierarchy

Expanded class hierarchy of Apple

11 string references to 'Apple'
AnnotatedClassDiscoveryTest::setUp in core/tests/Drupal/KernelTests/Core/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
BlockManagerTest::setUp in core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php
CustomDirectoryAnnotatedClassDiscoveryTest::setUp in core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php
DefaultPluginManagerTest::setUp in core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
EntityTypeBundleInfoTest::providerTestGetBundleInfo in core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php
Provides test data for testGetBundleInfo().

... See full list

File

core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php, line 12

Namespace

Drupal\plugin_test\Plugin\plugin_test\fruit
View source
class Apple implements FruitInterface {

}

Members