Skip to content
Snippets Groups Projects
Commit ae7d990e authored by jurgenhaas's avatar jurgenhaas
Browse files

General plugin update

parent d4496179
No related branches found
No related tags found
1 merge request!114Merging develop into main
Pipeline #1368107 passed
Showing
with 576 additions and 2 deletions
---
title: "Token: set random value"
tags:
- action
- eca_base
- eca action 2.1.0
---
# Token: set random value
Available since: 2.1.0
Create a random value and store it in a token.
{!include/plugins/eca_base/action/eca_token_set_random_value.md!}
## Fields
`Name of token`
: Provide the name of a token where the value should be stored. Please provide the token name only, without brackets.
{!include/plugins/eca_base/action/eca_token_set_random_value/token_name.md!}
`Mode`
: The type of random value to generate.<br/>When using the "Defined by token" option, make sure there is a token with this name: <em>eca_token_set_random_value_mode</em>
{!include/plugins/eca_base/action/eca_token_set_random_value/mode.md!}
`Length or min/max`
: The length or min/max range of the random value. For sentences, this value determines the number of words and for paragraphs it determines the number of paragraphs. For integer mode, please provide comma separated values for minimum and maximum value. Missing values default to PHPs built in mix and max integer values. For the image mode, please provide a comma separated min and max resolution, defaults to "100x100,1920x1080". For the image mode, the token will contain the path to the generated random image file.<br/>This field supports tokens.
{!include/plugins/eca_base/action/eca_token_set_random_value/length.md!}
...@@ -3,11 +3,11 @@ title: "Validate content entity" ...@@ -3,11 +3,11 @@ title: "Validate content entity"
tags: tags:
- event - event
- eca_content - eca_content
- eca event 1.0.0 - eca event 2.1.0
--- ---
# Validate content entity # Validate content entity
Available since: 1.0.0 Available since: 2.1.0
When an entity is undergoing validation. When an entity is undergoing validation.
......
---
title: "Form field: add state"
tags:
- action
- eca_form
- eca action 2.1.0
---
# Form field: add state
Available since: 2.1.0
Add JavaScript state to a form field or element.
{!include/plugins/eca_form/action/eca_form_field_add_state.md!}
## Fields
`Selector`
: The JQuery selector for the remote element controlling the state of this field.<br/>This field supports tokens.
{!include/plugins/eca_form/action/eca_form_field_add_state/selector.md!}
`State`
: The state of this field that should be controlled by the remote element.<br/>When using the "Defined by token" option, make sure there is a token with this name: <em>eca_form_field_add_state_state</em>
{!include/plugins/eca_form/action/eca_form_field_add_state/state.md!}
`Condition`
: The condition of the remote element controlling the state of this field.<br/>When using the "Defined by token" option, make sure there is a token with this name: <em>eca_form_field_add_state_condition</em>
{!include/plugins/eca_form/action/eca_form_field_add_state/condition.md!}
`Value`
: The value for the condition. This is only required if "value" is selected as the condition.<br/>This field supports tokens.
{!include/plugins/eca_form/action/eca_form_field_add_state/value.md!}
`Field name`
: The input name of the form field. This is mostly found in the "name" attribute of an &lt;input&gt; form element. <em>For submit buttons within content forms:</em> Use "submit" for the labeled "Save" button, and "preview" for the labeled "Preview" button.<br/>This field supports tokens.
{!include/plugins/eca_form/action/eca_form_field_add_state/field_name.md!}
---
title: "Form field: set label"
tags:
- action
- eca_form
- eca action 2.1.0
---
# Form field: set label
Available since: 2.1.0
Defines label on a form field or element.
{!include/plugins/eca_form/action/eca_form_field_set_label.md!}
## Fields
`Element label`
: The label of the form field or element.<br/>This field supports tokens.
{!include/plugins/eca_form/action/eca_form_field_set_label/label.md!}
`Field name`
: The input name of the form field. This is mostly found in the "name" attribute of an &lt;input&gt; form element. <em>For submit buttons within content forms:</em> Use "submit" for the labeled "Save" button, and "preview" for the labeled "Preview" button.<br/>This field supports tokens.
{!include/plugins/eca_form/action/eca_form_field_set_label/field_name.md!}
---
title: "Form field: set weight"
tags:
- action
- eca_form
- eca action 2.1.0
---
# Form field: set weight
Available since: 2.1.0
Defines weight on a form field or element.
{!include/plugins/eca_form/action/eca_form_field_set_weight.md!}
## Fields
`Element weight`
: The weight as integer number.<br/>This field supports tokens.
{!include/plugins/eca_form/action/eca_form_field_set_weight/weight.md!}
`Field name`
: The input name of the form field. This is mostly found in the "name" attribute of an &lt;input&gt; form element. <em>For submit buttons within content forms:</em> Use "submit" for the labeled "Save" button, and "preview" for the labeled "Preview" button.<br/>This field supports tokens.
{!include/plugins/eca_form/action/eca_form_field_set_weight/field_name.md!}
---
title: "ECA Helper: Form field get value"
tags:
- action
- eca_helper
- eca_helper action unknown
---
# ECA Helper: Form field get value
Available since: unknown
Get form field value.
{!include/plugins/eca_helper/action/eca_helper_form_field_get_value.md!}
## Fields
`Element key`
: The element key to get value for the form element. Example #title, #attributes.class<br/>This field supports tokens.
{!include/plugins/eca_helper/action/eca_helper_form_field_get_value/key.md!}
`Name of response token`
: The response value will be loaded into this specified token. Please provide the token name only, without brackets.
{!include/plugins/eca_helper/action/eca_helper_form_field_get_value/token_name.md!}
`Field name`
: The input name of the form field. This is mostly found in the "name" attribute of an &lt;input&gt; form element. <em>For submit buttons within content forms:</em> Use "submit" for the labeled "Save" button, and "preview" for the labeled "Preview" button. Use <em>!!form</em> for the current form instead of form element.<br/>This field supports tokens.
{!include/plugins/eca_helper/action/eca_helper_form_field_get_value/field_name.md!}
---
title: "ECA Helper: Form field set value"
tags:
- action
- eca_helper
- eca_helper action unknown
---
# ECA Helper: Form field set value
Available since: unknown
Set form field value.
{!include/plugins/eca_helper/action/eca_helper_form_field_set_value.md!}
## Fields
`Element key`
: The element key to set value for the form element. Example #title, #attributes.class<br/>This field supports tokens.
{!include/plugins/eca_helper/action/eca_helper_form_field_set_value/key.md!}
`Value`
: The default value to prepopulate.<br/>This field supports tokens.
{!include/plugins/eca_helper/action/eca_helper_form_field_set_value/value.md!}
`Value in YAML`
: Value in the YAML format.
{!include/plugins/eca_helper/action/eca_helper_form_field_set_value/value_yaml.md!}
`Set array value`
: Set or append data to array value.
{!include/plugins/eca_helper/action/eca_helper_form_field_set_value/array.md!}
`Method`
: The method to set value when use Set array value.
{!include/plugins/eca_helper/action/eca_helper_form_field_set_value/method.md!}
`Field name`
: The input name of the form field. This is mostly found in the "name" attribute of an &lt;input&gt; form element. <em>For submit buttons within content forms:</em> Use "submit" for the labeled "Save" button, and "preview" for the labeled "Preview" button. Use <em>!!form</em> for the current form instead of form element.<br/>This field supports tokens.
{!include/plugins/eca_helper/action/eca_helper_form_field_set_value/field_name.md!}
---
title: "ECA Helper: Http Request"
tags:
- action
- eca_helper
- eca_helper action unknown
---
# ECA Helper: Http Request
Available since: unknown
Add Http request for ECA
{!include/plugins/eca_helper/action/eca_helper_http_request.md!}
## Fields
`Method`
:
{!include/plugins/eca_helper/action/eca_helper_http_request/method.md!}
`URL`
:
{!include/plugins/eca_helper/action/eca_helper_http_request/url.md!}
`Data`
:
{!include/plugins/eca_helper/action/eca_helper_http_request/data.md!}
`Data Serialization`
:
{!include/plugins/eca_helper/action/eca_helper_http_request/data_serialization.md!}
`Query Parameters`
: YAML format, for example mykey: myvalue. When using tokens and YAML altogether, make sure that tokens are wrapped as a string. Example: title: "[node:title]"
{!include/plugins/eca_helper/action/eca_helper_http_request/query_parameters.md!}
`Headers`
: Headers with YAML format.
{!include/plugins/eca_helper/action/eca_helper_http_request/headers.md!}
`Cookies`
: Cookies with YAML format.
{!include/plugins/eca_helper/action/eca_helper_http_request/cookies.md!}
`Options`
: The Guzzle request options with YAML format. Reference: https://docs.guzzlephp.org/en/stable/request-options.html
{!include/plugins/eca_helper/action/eca_helper_http_request/request_options.md!}
`Name of response token`
: The response value will be loaded into this specified token. You can access [token_name:body], [token_name:headers], [token_name:status] Please provide the token name only, without brackets.
{!include/plugins/eca_helper/action/eca_helper_http_request/token_name.md!}
---
title: "ECA Helper: Get SERVER Variable"
tags:
- action
- eca_helper
- eca_helper action unknown
---
# ECA Helper: Get SERVER Variable
Available since: unknown
Action get PHP $_SERVER, $_COOKIE, $_SESSION, $_ENV, $_GET, $_POST variable
{!include/plugins/eca_helper/action/eca_helper_server_variable.md!}
## Fields
`Variable Type`
: Select the variable type
{!include/plugins/eca_helper/action/eca_helper_server_variable/variable_type.md!}
`Variable`
: The name of server variable need to get data. This support token.
{!include/plugins/eca_helper/action/eca_helper_server_variable/variable.md!}
`Debug`
: Enable debug will log all server variable to log messages.
{!include/plugins/eca_helper/action/eca_helper_server_variable/debug.md!}
`Name of response token`
: The response value will be loaded into this specified token. Please provide the token name only, without brackets.
{!include/plugins/eca_helper/action/eca_helper_server_variable/token_name.md!}
---
title: "ECA Helper: Get/Set ThirdPartySetting"
tags:
- action
- eca_helper
- eca_helper action unknown
---
# ECA Helper: Get/Set ThirdPartySetting
Available since: unknown
Get/Set ThirdPartySetting of instance.
{!include/plugins/eca_helper/action/eca_helper_third_partyS_setting.md!}
## Fields
`Instance`
: The name of instance to Get/Set ThirdPartySetting. Please provide the token name only, without brackets.
{!include/plugins/eca_helper/action/eca_helper_third_partyS_setting/instance.md!}
`Method`
: Select method for GET or SET for ThirdPartySetting
{!include/plugins/eca_helper/action/eca_helper_third_partyS_setting/method.md!}
`Module`
: The name of module to Get/Set ThirdPartySetting.
{!include/plugins/eca_helper/action/eca_helper_third_partyS_setting/module.md!}
`Key`
: The name of key value to Get/Set ThirdPartySetting.
{!include/plugins/eca_helper/action/eca_helper_third_partyS_setting/key.md!}
`Value`
: The value of key to Get/Set ThirdPartySetting.
{!include/plugins/eca_helper/action/eca_helper_third_partyS_setting/value.md!}
`Name of response token`
: The response value of Get ThirdPartySetting will be loaded into this specified token. Please provide the token name only, without brackets.
{!include/plugins/eca_helper/action/eca_helper_third_partyS_setting/token_name.md!}
---
title: "ECA Helper"
tags:
- module
---
# ECA Helper
{!include/modules/eca_helper.md!}
## Installation
```shell
composer require drupal/eca_helper
drush pm:install eca_helper
```
Instead of using Drush to enable the module, you can also go to "Administration / Extend" (`/admin/modules`) and
enable the module **ECA Helper** from there.
---
title: "ECA Helper Workflow: Get workflow for Entity"
tags:
- action
- eca_helper_workflow
- eca_helper action unknown
---
# ECA Helper Workflow: Get workflow for Entity
Available since: unknown
Get workflow instance of Entity.
{!include/plugins/eca_helper_workflow/action/eca_helper_workflow_for_entity.md!}
## Fields
`Name of token`
: The field value will be loaded into this specified token. Please provide the token name only, without brackets.
{!include/plugins/eca_helper_workflow/action/eca_helper_workflow_for_entity/token_name.md!}
`Entity`
: Provide the token name of the <em class="placeholder">entity</em> that this action should operate with. Please provide the token name only, without brackets.
{!include/plugins/eca_helper_workflow/action/eca_helper_workflow_for_entity/object.md!}
---
title: "ECA Helper Workflow: Get Label"
tags:
- action
- eca_helper_workflow
- eca_helper action unknown
---
# ECA Helper Workflow: Get Label
Available since: unknown
Get workflow label
{!include/plugins/eca_helper_workflow/action/eca_helper_workflow_label.md!}
## Fields
`The workflow state id`
: The workflow state id of entity.
{!include/plugins/eca_helper_workflow/action/eca_helper_workflow_label/workflow_state.md!}
`Name of token`
: The field value will be loaded into this specified token. Please provide the token name only, without brackets.
{!include/plugins/eca_helper_workflow/action/eca_helper_workflow_label/token_name.md!}
`Entity`
: Provide the token name of the <em class="placeholder">entity</em> that this action should operate with. Please provide the token name only, without brackets.
{!include/plugins/eca_helper_workflow/action/eca_helper_workflow_label/object.md!}
---
title: "ECA Helper Workflow: Get workflow state"
tags:
- action
- eca_helper_workflow
- eca_helper action unknown
---
# ECA Helper Workflow: Get workflow state
Available since: unknown
Get workflow state instance of Entity.
{!include/plugins/eca_helper_workflow/action/eca_helper_workflow_state.md!}
## Fields
`State`
:
{!include/plugins/eca_helper_workflow/action/eca_helper_workflow_state/type.md!}
`State Property`
:
{!include/plugins/eca_helper_workflow/action/eca_helper_workflow_state/property.md!}
`Name of token`
: The field value will be loaded into this specified token. Please provide the token name only, without brackets.
{!include/plugins/eca_helper_workflow/action/eca_helper_workflow_state/token_name.md!}
`Entity`
: Provide the token name of the <em class="placeholder">entity</em> that this action should operate with. Please provide the token name only, without brackets.
{!include/plugins/eca_helper_workflow/action/eca_helper_workflow_state/object.md!}
---
title: "ECA Helper for Workflow"
tags:
- module
---
# ECA Helper for Workflow
{!include/modules/eca_helper_workflow.md!}
## Installation
```shell
composer require drupal/eca_helper
drush pm:install eca_helper_workflow
```
Instead of using Drush to enable the module, you can also go to "Administration / Extend" (`/admin/modules`) and
enable the module **ECA Helper for Workflow** from there.
---
title: "Token: load query argument"
tags:
- action
- eca_misc
- eca action 2.1.0
---
# Token: load query argument
Available since: 2.1.0
Loads a query argument from the request into the token environment.
{!include/plugins/eca_misc/action/eca_token_load_query_arg.md!}
## Fields
`Name of query argument`
: <br/>This field supports tokens.
{!include/plugins/eca_misc/action/eca_token_load_query_arg/argument_name.md!}
`Name of token`
: The name of the token, the argument value gets stored into. Please provide the token name only, without brackets.
{!include/plugins/eca_misc/action/eca_token_load_query_arg/token_name.md!}
...@@ -28,3 +28,9 @@ Available since: 2.0.0 ...@@ -28,3 +28,9 @@ Available since: 2.0.0
: Select the view from the list. : Select the view from the list.
{!include/plugins/eca_views/event/eca_views_post_build/view_id.md!} {!include/plugins/eca_views/event/eca_views_post_build/view_id.md!}
`Display`
: Provide the view <code>display id</code> to which to respond. Leave empty to respond on any display.
{!include/plugins/eca_views/event/eca_views_post_build/display_id.md!}
...@@ -28,3 +28,9 @@ Available since: 2.0.0 ...@@ -28,3 +28,9 @@ Available since: 2.0.0
: Select the view from the list. : Select the view from the list.
{!include/plugins/eca_views/event/eca_views_post_execute/view_id.md!} {!include/plugins/eca_views/event/eca_views_post_execute/view_id.md!}
`Display`
: Provide the view <code>display id</code> to which to respond. Leave empty to respond on any display.
{!include/plugins/eca_views/event/eca_views_post_execute/display_id.md!}
...@@ -28,3 +28,9 @@ Available since: 2.0.0 ...@@ -28,3 +28,9 @@ Available since: 2.0.0
: Select the view from the list. : Select the view from the list.
{!include/plugins/eca_views/event/eca_views_post_render/view_id.md!} {!include/plugins/eca_views/event/eca_views_post_render/view_id.md!}
`Display`
: Provide the view <code>display id</code> to which to respond. Leave empty to respond on any display.
{!include/plugins/eca_views/event/eca_views_post_render/display_id.md!}
...@@ -28,3 +28,9 @@ Available since: 2.0.0 ...@@ -28,3 +28,9 @@ Available since: 2.0.0
: Select the view from the list. : Select the view from the list.
{!include/plugins/eca_views/event/eca_views_pre_build/view_id.md!} {!include/plugins/eca_views/event/eca_views_pre_build/view_id.md!}
`Display`
: Provide the view <code>display id</code> to which to respond. Leave empty to respond on any display.
{!include/plugins/eca_views/event/eca_views_pre_build/display_id.md!}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment