class Banana

Plugin annotation


@Plugin(
  id = "banana",
  label = "Banana",
  color = "yellow",
  uses = {
    "bread" = @Translation("Banana bread")
  }
)

Hierarchy

  • class \Drupal\plugin_test\Plugin\plugin_test\fruit\Banana

Expanded class hierarchy of Banana

3 string references to 'Banana'
AnnotatedClassDiscoveryTest::setUp in drupal/core/modules/system/lib/Drupal/system/Tests/Plugin/Discovery/AnnotatedClassDiscoveryTest.php
Sets up unit test environment.
CacheDecoratorTest::testClearCachedDefinitions in drupal/core/modules/system/lib/Drupal/system/Tests/Plugin/CacheDecoratorTest.php
Tests CacheDecorator::clearCachedDefinitions().
TermTest::testTaxonomyGetTermByName in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTest.php
Test taxonomy_term_load_multiple_by_name().

File

drupal/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/fruit/Banana.php, line 23
Contains \Drupal\plugin_test\Plugin\plugin_test\fruit\Banana.

Namespace

Drupal\plugin_test\Plugin\plugin_test\fruit
View source
class Banana {

}

Members