Cherry.php

Same filename and directory in other branches
  1. 9 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Cherry.php
  2. 8.9.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Cherry.php
  3. 10 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Cherry.php

Namespace

Drupal\plugin_test\Plugin\plugin_test\fruit

File

core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Cherry.php

View source
<?php

namespace Drupal\plugin_test\Plugin\plugin_test\fruit;


/**
 * @Plugin(
 *   id = "cherry",
 *   label = "Cherry",
 *   color = "red"
 * )
 */
class Cherry implements FruitInterface {

}

Classes

Title Deprecated Summary
Cherry Plugin annotation @Plugin( id = "cherry", label = "Cherry", color = "red" )

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