diff --git a/templates/_plugin-manager/attribute/src/Plugin/Example/Foo.php.twig b/templates/_plugin-manager/attribute/src/Plugin/Example/Foo.php.twig index c5a5d7d6e..15a7d40d0 100644 --- a/templates/_plugin-manager/attribute/src/Plugin/Example/Foo.php.twig +++ b/templates/_plugin-manager/attribute/src/Plugin/Example/Foo.php.twig @@ -14,9 +14,9 @@ use Drupal\{{ machine_name }}\{{ class_prefix }}PluginBase; * Plugin implementation of the {{ plugin_type }}. */ #[{{ class_prefix }}( - id: "foo", - label: new TranslatableMarkup("Foo"), - description: new TranslatableMarkup("Foo description."), + id: 'foo', + label: new TranslatableMarkup('Foo'), + description: new TranslatableMarkup('Foo description.'), )] final class Foo extends {{ class_prefix }}PluginBase { diff --git a/tests/functional/Generator/_plugin_manager/_attribute/src/Plugin/Bar/Foo.php b/tests/functional/Generator/_plugin_manager/_attribute/src/Plugin/Bar/Foo.php index d0eee4925..df5fd8a49 100644 --- a/tests/functional/Generator/_plugin_manager/_attribute/src/Plugin/Bar/Foo.php +++ b/tests/functional/Generator/_plugin_manager/_attribute/src/Plugin/Bar/Foo.php @@ -12,9 +12,9 @@ * Plugin implementation of the bar. */ #[Bar( - id: "foo", - label: new TranslatableMarkup("Foo"), - description: new TranslatableMarkup("Foo description."), + id: 'foo', + label: new TranslatableMarkup('Foo'), + description: new TranslatableMarkup('Foo description.'), )] final class Foo extends BarPluginBase {