class Apple

Same name in this branch
  1. 11.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php \Drupal\plugin_test\Plugin\plugin_test\fruit\Apple
Same name 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
  4. 10 core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php \Drupal\Tests\Core\Entity\Apple

A Fruit class for testing.

Hierarchy

Expanded class hierarchy of Apple

50 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.
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/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php, line 231

Namespace

Drupal\Tests\Core\Entity
View source
class Apple extends Fruit {

}

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