namespace Drupal\Tests\Component\Plugin\Fixtures\vegetable

Same name in other branches
  1. 8.9.x Drupal\Tests\Component\Plugin\Fixtures\vegetable
  2. 11.x Drupal\Tests\Component\Plugin\Fixtures\vegetable
  3. 9 Drupal\Tests\Component\Plugin\Fixtures\vegetable
Object name File name Summary
Broccoli core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Broccoli.php Plugin annotation

@Plugin(
id = "broccoli",
label = "Broccoli",
color = "green"
)
Corn core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php Plugin annotation

@Plugin(
id = "corn",
label = "Corn",
color = "yellow"
)
VegetableInterface core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/VegetableInterface.php Provides an interface for test plugins.

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