UsingNonInstalledTraitClass.php
Same filename in other branches
Namespace
Drupal\plugin_test\Plugin\plugin_test\custom_annotationFile
-
core/
modules/ system/ tests/ modules/ plugin_test/ src/ Plugin/ plugin_test/ custom_annotation/ UsingNonInstalledTraitClass.php
View source
<?php
declare (strict_types=1);
namespace Drupal\plugin_test\Plugin\plugin_test\custom_annotation;
use Drupal\Core\Security\Attribute\TrustedCallback;
use Drupal\non_installed_module\NonExistingTrait;
/**
* This class does not have a plugin attribute or plugin annotation on purpose.
*/
class UsingNonInstalledTraitClass {
use NonExistingTrait;
public function testMethod() {
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
UsingNonInstalledTraitClass | This class does not have a plugin attribute or plugin annotation on purpose. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.