class Cherry

Same name 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. 10 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Cherry.php \Drupal\plugin_test\Plugin\plugin_test\fruit\Cherry
  3. 11.x 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

18 string references to 'Cherry'
AnnotatedClassDiscoveryTest::setUp in core/tests/Drupal/KernelTests/Core/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
AnnotatedClassDiscoveryTest::setUp in core/tests/Drupal/KernelTests/Core/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
CustomDirectoryAnnotatedClassDiscoveryTest::setUp in core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php
CustomDirectoryAnnotatedClassDiscoveryTest::setUp in core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php
DefaultLazyPluginCollectionTest::providerTestSortHelper in core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php
Provides test data for testSortHelper.

... 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 {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.