class Corn
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php \Drupal\Tests\Component\Plugin\Fixtures\vegetable\Corn
- 8.9.x core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php \Drupal\Tests\Component\Plugin\Fixtures\vegetable\Corn
- 11.x core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php \Drupal\Tests\Component\Plugin\Fixtures\vegetable\Corn
Plugin annotation
@Plugin(
id = "corn",
label = "Corn",
color = "yellow"
)
Hierarchy
- class \Drupal\Tests\Component\Plugin\Fixtures\vegetable\Corn implements \Drupal\Tests\Component\Plugin\Fixtures\vegetable\VegetableInterface
Expanded class hierarchy of Corn
1 file declares its use of Corn
- DefaultFactoryTest.php in core/
tests/ Drupal/ Tests/ Component/ Plugin/ DefaultFactoryTest.php
8 string references to 'Corn'
- DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithArrayPluginDefinition in core/
tests/ Drupal/ Tests/ Component/ Plugin/ DefaultFactoryTest.php - Tests getPluginClass() with a required interface but no implementation.
- DefaultFactoryTest::testGetPluginClassWithInterfaceAndInvalidClassWithObjectPluginDefinition in core/
tests/ Drupal/ Tests/ Component/ Plugin/ DefaultFactoryTest.php - Tests getPluginClass() with a required interface but no implementation.
- DefaultFactoryTest::testGetPluginClassWithInterfaceWithArrayPluginDefinition in core/
tests/ Drupal/ Tests/ Component/ Plugin/ DefaultFactoryTest.php - Tests getPluginClass() with a required interface.
- DefaultFactoryTest::testGetPluginClassWithInterfaceWithObjectPluginDefinition in core/
tests/ Drupal/ Tests/ Component/ Plugin/ DefaultFactoryTest.php - Tests getPluginClass() with a required interface.
- DefaultFactoryTest::testGetPluginClassWithMissingClassWithArrayPluginDefinition in core/
tests/ Drupal/ Tests/ Component/ Plugin/ DefaultFactoryTest.php - Tests getPluginClass() with a missing class definition.
File
-
core/
tests/ Drupal/ Tests/ Component/ Plugin/ Fixtures/ vegetable/ Corn.php, line 14
Namespace
Drupal\Tests\Component\Plugin\Fixtures\vegetableView source
class Corn implements VegetableInterface {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.