class UsingNonInstalledTraitClass
Same name in other branches
- 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_annotationView source
class UsingNonInstalledTraitClass {
use NonExistingTrait;
public function testMethod() {
}
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.