Apple.php

Same filename in other branches
  1. 9 core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php
  2. 8.9.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php
  3. 11.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/fruit/Apple.php

Namespace

Drupal\plugin_test\Plugin\plugin_test\fruit

File

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

View source
<?php

namespace Drupal\plugin_test\Plugin\plugin_test\fruit;


/**
 * @Plugin(
 *   id = "apple",
 *   label = "Apple",
 *   color = "green"
 * )
 */
class Apple implements FruitInterface {

}

Classes

Title Deprecated Summary
Apple Plugin annotation @Plugin( id = "apple", label = "Apple", color = "green" )

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