Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / debug.plugin.yml
diff --git a/vendor/drupal/console-en/translations/debug.plugin.yml b/vendor/drupal/console-en/translations/debug.plugin.yml
new file mode 100644 (file)
index 0000000..7f345ae
--- /dev/null
@@ -0,0 +1,36 @@
+description: 'Displays all plugin types.'
+help: |
+  Display all plugin types, plugin instances of a specific type, or the definition for a specific plugin.
+
+  List all plugin types:
+  <info>drupal debug:plugin</info>
+
+  List all instances of the image effect plugin type:
+  <info>drupal debug:plugin image.effect</info>
+
+  Show the definition for the image convert plugin:
+  <info>drupal debug:plugin image.effect image_convert</info>
+
+  <comment>NOTE: Only plugin types exposed through services are supported.</comment> When developing a custom plugin type, expose it as a service by adding it to modulename.services.yml with the name "plugin.manager.PLUGIN_TYPE".
+arguments:
+    type: 'Plugin type'
+    id: 'Plugin ID'
+errors:
+    plugin-type-not-found: 'Plugin type "%s" not found. No service available for that type.'
+table-headers:
+    plugin-type-name: 'Plugin type'
+    plugin-type-class: 'Plugin manager class'
+    plugin-id: 'Plugin ID'
+    plugin-class: 'Plugin class'
+    definition-key: 'Key'
+    definition-value: 'Value'
+examples:
+    - description: 'Displays a list with all the plugins on the current site'
+      execution: |
+        drupal debug:plugin
+    - description: 'Displays block plugin information'
+      execution: |
+        drupal debug:plugin block
+    - description: 'Displays block broken information'
+      execution: |
+        drupal debug:plugin block broken