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

Issue #3502614: Add a service user to settings and an action to switch to it

parent 4a238dff
No related branches found
No related tags found
1 merge request!118Merging develop into main
Showing
with 85 additions and 202 deletions
......@@ -17,7 +17,7 @@ Available since: 1.0.0
| ----- | ----------- |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
{!include/plugins/eca_commerce/event/eca_commerce_filter_conditions.md!}
......@@ -17,7 +17,7 @@ Available since: 1.0.0
| ----- | ----------- |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
{!include/plugins/eca_commerce/event/eca_commerce_post_mail_send.md!}
......@@ -18,7 +18,7 @@ Available since: 1.0.0
| `[commerce_definition]` | This is the number format definition. |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
{!include/plugins/eca_commerce/event/eca_commerce_price_number_format.md!}
......@@ -17,7 +17,7 @@ Available since: 1.0.0
| ----- | ----------- |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
{!include/plugins/eca_commerce/event/eca_commerce_referenceable_plugin_types.md!}
......@@ -16,6 +16,9 @@ An entity bundle object is being created (instantiated) on runtime, without bein
| Token | Description |
| ----- | ----------- |
| `[event]` | The event. |
| `[event:entity_type_id]` | The entity type. |
| `[event:bundle]` | The bundle machine name. |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
......
......@@ -16,6 +16,9 @@ Available since: 1.0.0
| Token | Description |
| ----- | ----------- |
| `[event]` | The event. |
| `[event:entity_type_id]` | The entity type. |
| `[event:bundle]` | The bundle machine name. |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
......
......@@ -16,6 +16,8 @@ Available since: 2.0.0
| Token | Description |
| ----- | ----------- |
| `[event]` | The event. |
| `[event:view_mode]` | The view mode machine name. |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
| `[entity]` | The entity of the event. |
......
......@@ -15,6 +15,12 @@ Set form field value.
## Fields
`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!}
`Element key`
: The element key to set value for the form element. Example #title, #attributes.class<br/>This field supports tokens.
......@@ -23,7 +29,7 @@ Set form field value.
`Value`
: The default value to prepopulate.<br/>This field supports tokens.
: The element value.<br/>This field supports tokens.
{!include/plugins/eca_helper/action/eca_helper_form_field_set_value/value.md!}
......@@ -44,9 +50,3 @@ Set form field value.
: 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!}
......@@ -33,6 +33,12 @@ Add Http request for ECA
{!include/plugins/eca_helper/action/eca_helper_http_request/data.md!}
`Data YAML`
: Use Data as yaml format.
{!include/plugins/eca_helper/action/eca_helper_http_request/data_yaml.md!}
`Data Serialization`
:
......@@ -65,6 +71,6 @@ Add Http request for ECA
`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.
: The response value will be loaded into this specified token. You can access [token_name:body] raw response, [token_name:json] when return is valid json, [token_name:headers], [token_name:status], [token_name:client_error] > 0 when has problem. Please provide the token name only, without brackets.
{!include/plugins/eca_helper/action/eca_helper_http_request/token_name.md!}
......@@ -17,7 +17,7 @@ Available since: 1.0.0
| ----- | ----------- |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
{!include/plugins/eca_metatag/event/eca_metatag_alter.md!}
......@@ -17,7 +17,7 @@ Available since: 1.0.0
| ----- | ----------- |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
{!include/plugins/eca_metatag/event/eca_metatag_tags.md!}
......@@ -21,3 +21,10 @@ Fires, when getting the dependency of a non-reusable block.
{!include/plugins/eca_misc/event/drupal_block_content_get_dependency.md!}
## Fields
`Base path of recipe`
: The base path of the recipe that got applied; e.g. if the recipe is stored in "/var/www/recipe/my_recipe" then the base path is "my_recipe". Leave empty to respond to all recipes.
{!include/plugins/eca_misc/event/drupal_block_content_get_dependency/recipe_base_path.md!}
......@@ -21,3 +21,10 @@ Fires during the resource type build process.
{!include/plugins/eca_misc/event/drupal_build.md!}
## Fields
`Base path of recipe`
: The base path of the recipe that got applied; e.g. if the recipe is stored in "/var/www/recipe/my_recipe" then the base path is "my_recipe". Leave empty to respond to all recipes.
{!include/plugins/eca_misc/event/drupal_build/recipe_base_path.md!}
......@@ -21,3 +21,10 @@ Fires during a file upload that lets subscribers sanitize the filename.
{!include/plugins/eca_misc/event/drupal_file_upload_sanitize_name_event.md!}
## Fields
`Base path of recipe`
: The base path of the recipe that got applied; e.g. if the recipe is stored in "/var/www/recipe/my_recipe" then the base path is "my_recipe". Leave empty to respond to all recipes.
{!include/plugins/eca_misc/event/drupal_file_upload_sanitize_name_event/recipe_base_path.md!}
......@@ -21,3 +21,10 @@ Fires when selecting a page display variant to use.
{!include/plugins/eca_misc/event/drupal_select_page_display_variant.md!}
## Fields
`Base path of recipe`
: The base path of the recipe that got applied; e.g. if the recipe is stored in "/var/www/recipe/my_recipe" then the base path is "my_recipe". Leave empty to respond to all recipes.
{!include/plugins/eca_misc/event/drupal_select_page_display_variant/recipe_base_path.md!}
This diff is collapsed.
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