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

1 file declares its use of Apple
plugin_test.module in core/modules/system/tests/modules/plugin_test/plugin_test.module
Helper module for the plugin tests.
13 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
ConfigTargetTest::testNested in core/modules/system/tests/src/FunctionalJavascript/Form/ConfigTargetTest.php
Tests #config_target with callbacks.
ConfigTargetTest::testNested in core/modules/system/tests/src/Functional/Form/ConfigTargetTest.php
Tests #config_target where there is not a 1:1 property to element.
CustomDirectoryAnnotatedClassDiscoveryTest::setUp in core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php

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