Corn.php

Same filename in other branches
  1. 9 core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php
  2. 10 core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php
  3. 11.x core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php

Namespace

Drupal\Tests\Component\Plugin\Fixtures\vegetable

File

core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php

View source
<?php

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


/**
 * @Plugin(
 *   id = "corn",
 *   label = "Corn",
 *   color = "yellow"
 * )
 */
class Corn implements VegetableInterface {

}

Classes

Title Deprecated Summary
Corn Plugin annotation @Plugin( id = "corn", label = "Corn", color = "yellow" )

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