class Broccoli

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

Plugin annotation


@Plugin(
  id = "broccoli",
  label = "Broccoli",
  color = "green"
)

Hierarchy

  • class \Drupal\Tests\Component\Plugin\Fixtures\vegetable\Broccoli

Expanded class hierarchy of Broccoli

1 file declares its use of Broccoli
DefaultFactoryTest.php in core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php

File

core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Broccoli.php, line 12

Namespace

Drupal\Tests\Component\Plugin\Fixtures\vegetable
View source
class Broccoli {

}

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