class UsingNonInstalledTraitClass

Same name in other branches
  1. 11.x core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/UsingNonInstalledTraitClass.php \Drupal\plugin_test\Plugin\plugin_test\custom_annotation\UsingNonInstalledTraitClass

This class does not have a plugin attribute or plugin annotation on purpose.

Hierarchy

  • class \Drupal\plugin_test\Plugin\plugin_test\custom_annotation\UsingNonInstalledTraitClass uses \Drupal\non_installed_module\NonExistingTrait

Expanded class hierarchy of UsingNonInstalledTraitClass

File

core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/UsingNonInstalledTraitClass.php, line 11

Namespace

Drupal\plugin_test\Plugin\plugin_test\custom_annotation
View source
class UsingNonInstalledTraitClass {
    use NonExistingTrait;
    public function testMethod() {
    }

}

Members

Title Sort descending Modifiers Object type Summary
UsingNonInstalledTraitClass::testMethod public function

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