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

Plugin annotation


@Plugin(
  id = "cherry",
  label = "Cherry",
  color = "red"
)

Hierarchy

Expanded class hierarchy of Cherry

6 string references to 'Cherry'
AnnotatedClassDiscoveryTest::setUp in core/tests/Drupal/KernelTests/Core/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
CustomDirectoryAnnotatedClassDiscoveryTest::setUp in core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php
DefaultPluginManagerTest::testDefaultPluginManagerWithDisabledModule in core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
Tests the plugin manager with a disabled module.
DefaultPluginManagerTest::testDefaultPluginManagerWithObjects in core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
Tests the plugin manager and object plugin definitions.
LazyPluginCollectionTestBase::getPluginDefinitions in core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php
Returns some example plugin definitions.

... See full list

File

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

Namespace

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

}

Members