function Generator::handle
File
-
devel_generate/
src/ Attributes/ Generator.php, line 19
Class
- Generator
- Devel generate plugin details.
Namespace
Drupal\devel_generate\AttributesCode
public static function handle(\ReflectionAttribute $attribute, CommandInfo $commandInfo) : void {
$args = $attribute->getArguments();
$commandInfo->addAnnotation('pluginId', $args['id']);
}