From bdbf3e12cb9b382107c55d03c6afe28a2db6d6ac Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen.haas@lakedrops.com> Date: Sat, 25 May 2024 16:42:21 +0200 Subject: [PATCH] Updates --- .../actions/entity_print_download_action.md | 34 +++++++++++++++++++ docs/plugins/entity_print/index.md | 18 ++++++++++ include/modules/entity_print.md | 0 .../action/entity_print_download_action.md | 0 .../export_type.md | 0 .../entity_print_download_action/object.md | 0 .../replace_tokens.md | 0 toc/plugins.yml | 4 +++ 8 files changed, 56 insertions(+) create mode 100644 docs/plugins/entity_print/actions/entity_print_download_action.md create mode 100644 docs/plugins/entity_print/index.md create mode 100644 include/modules/entity_print.md create mode 100644 include/plugins/entity_print/action/entity_print_download_action.md create mode 100644 include/plugins/entity_print/action/entity_print_download_action/export_type.md create mode 100644 include/plugins/entity_print/action/entity_print_download_action/object.md create mode 100644 include/plugins/entity_print/action/entity_print_download_action/replace_tokens.md diff --git a/docs/plugins/entity_print/actions/entity_print_download_action.md b/docs/plugins/entity_print/actions/entity_print_download_action.md new file mode 100644 index 00000000..5a81bfbc --- /dev/null +++ b/docs/plugins/entity_print/actions/entity_print_download_action.md @@ -0,0 +1,34 @@ +--- +title: "Print" +tags: +- action +- entity_print +- entity_print action unknown +--- +# Print + +Available since: unknown + + + +{!include/plugins/entity_print/action/entity_print_download_action.md!} + +## Fields + +`Export type` + +: + + {!include/plugins/entity_print/action/entity_print_download_action/export_type.md!} + +`Entity` + +: Provide the token name of the <em class="placeholder">node</em> that this action should operate with. Please provide the token name only, without brackets. + + {!include/plugins/entity_print/action/entity_print_download_action/object.md!} + +`Replace tokens` + +: When enabled, tokens will be replaced <em>before</em> executing the action. <strong>Please note:</strong> Actions might already take care of replacing tokens on their own. Therefore, use this option only with care and when it makes sense. + + {!include/plugins/entity_print/action/entity_print_download_action/replace_tokens.md!} diff --git a/docs/plugins/entity_print/index.md b/docs/plugins/entity_print/index.md new file mode 100644 index 00000000..2d46569d --- /dev/null +++ b/docs/plugins/entity_print/index.md @@ -0,0 +1,18 @@ +--- +title: "Entity Print" +tags: +- module +--- +# Entity Print + +{!include/modules/entity_print.md!} + +## Installation + +```shell +composer require drupal/entity_print +drush pm:install entity_print +``` + +Instead of using Drush to enable the module, you can also go to "Administration / Extend" (`/admin/modules`) and +enable the module **Entity Print** from there. diff --git a/include/modules/entity_print.md b/include/modules/entity_print.md new file mode 100644 index 00000000..e69de29b diff --git a/include/plugins/entity_print/action/entity_print_download_action.md b/include/plugins/entity_print/action/entity_print_download_action.md new file mode 100644 index 00000000..e69de29b diff --git a/include/plugins/entity_print/action/entity_print_download_action/export_type.md b/include/plugins/entity_print/action/entity_print_download_action/export_type.md new file mode 100644 index 00000000..e69de29b diff --git a/include/plugins/entity_print/action/entity_print_download_action/object.md b/include/plugins/entity_print/action/entity_print_download_action/object.md new file mode 100644 index 00000000..e69de29b diff --git a/include/plugins/entity_print/action/entity_print_download_action/replace_tokens.md b/include/plugins/entity_print/action/entity_print_download_action/replace_tokens.md new file mode 100644 index 00000000..e69de29b diff --git a/toc/plugins.yml b/toc/plugins.yml index 3a682190..872096bc 100644 --- a/toc/plugins.yml +++ b/toc/plugins.yml @@ -798,6 +798,10 @@ - plugins/easy_email/index.md - Actions: - 'Send Easy Email': plugins/easy_email/actions/easy_email_send.md +- 'Entity Print': + - plugins/entity_print/index.md + - Actions: + - Print: plugins/entity_print/actions/entity_print_download_action.md - Flag: - plugins/flag/index.md - Actions: -- GitLab