class Cherry

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Cherry.php \Drupal\plugin_test\Plugin\plugin_test\fruit\Cherry
  2. 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
  3. 10 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

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