class Apple

Same name in this branch
  1. 11.x core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php \Drupal\Tests\Core\Entity\Apple
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. 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
  3. 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

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.
49 string references to 'Apple'
AnnotatedClassDiscoveryTest::setUp in core/tests/Drupal/KernelTests/Core/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
AnnotatedClassDiscoveryTest::setUp in core/tests/Drupal/KernelTests/Core/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
AttributeTest::testChainAddRemoveClasses in core/tests/Drupal/Tests/Core/Template/AttributeTest.php
Tests removing class attributes with the Attribute helper methods. @covers ::removeClass @covers ::addClass
BlockManagerTest::setUp in core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php
CategorizingPluginManager::getDefinitions in core/tests/Drupal/Tests/Core/Plugin/CategorizingPluginManagerTraitTest.php
Provides some test definitions to the trait.

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

}

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