File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
templates/_plugin-manager/attribute/src/Plugin/Example
tests/functional/Generator/_plugin_manager/_attribute/src/Plugin/Bar Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ use Drupal\{{ machine_name }}\{{ class_prefix }}PluginBase;
14
14
* Plugin implementation of the {{ plugin_type }}.
15
15
*/
16
16
# [{{ class_prefix }}(
17
- id : " foo" ,
18
- label : new TranslatableMarkup (" Foo" ),
19
- description : new TranslatableMarkup (" Foo description." ),
17
+ id : ' foo' ,
18
+ label : new TranslatableMarkup (' Foo' ),
19
+ description : new TranslatableMarkup (' Foo description.' ),
20
20
)]
21
21
final class Foo extends {{ class_prefix }}PluginBase {
22
22
Original file line number Diff line number Diff line change 12
12
* Plugin implementation of the bar.
13
13
*/
14
14
#[Bar(
15
- id: " foo " ,
16
- label: new TranslatableMarkup (" Foo " ),
17
- description: new TranslatableMarkup (" Foo description. " ),
15
+ id: ' foo ' ,
16
+ label: new TranslatableMarkup (' Foo ' ),
17
+ description: new TranslatableMarkup (' Foo description. ' ),
18
18
)]
19
19
final class Foo extends BarPluginBase {
20
20
You can’t perform that action at this time.
0 commit comments