Skip to content

Commit 2dbd8d2

Browse files
authored
Use single quotes for plugin manager. (#175)
1 parent 7794c26 commit 2dbd8d2

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

2 files changed

+6
-6
lines changed

templates/_plugin-manager/attribute/src/Plugin/Example/Foo.php.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ use Drupal\{{ machine_name }}\{{ class_prefix }}PluginBase;
1414
* Plugin implementation of the {{ plugin_type }}.
1515
*/
1616
#[{{ 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.'),
2020
)]
2121
final class Foo extends {{ class_prefix }}PluginBase {
2222

tests/functional/Generator/_plugin_manager/_attribute/src/Plugin/Bar/Foo.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
* Plugin implementation of the bar.
1313
*/
1414
#[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.'),
1818
)]
1919
final class Foo extends BarPluginBase {
2020

0 commit comments

Comments
 (0)