rule new operation sending email

This commit is contained in:
2023-11-24 12:08:15 +01:00
parent 1a3a15e4c0
commit 1a1232c3f1
8 changed files with 221 additions and 51 deletions
+3
View File
@@ -2,6 +2,7 @@ _core:
default_config_hash: R4IF-ClDHXxblLcG0L7MgsLvfBIMAvi_skumNFQwkDc
langcode: fr
module:
action: 0
actions_permissions: 0
address: 0
admin_toolbar: 0
@@ -92,6 +93,7 @@ module:
phone_number: 0
redis: 0
responsive_image: 0
rules: 0
search_api: 0
search_api_db: 0
smart_trim: 0
@@ -104,6 +106,7 @@ module:
token: 0
toolbar: 0
translation_views: 0
typed_data: 0
update: 0
user: 0
video_embed_field: 0
@@ -0,0 +1,36 @@
uuid: fd70c6be-a93d-4df9-a4b8-79ddf2c8f36b
langcode: fr
status: true
dependencies:
enforced:
module:
- filter
- rules
_core:
default_config_hash: VrFjOQn2l2n6baaj2Z6IkYt9OdtsLjYPUVg7HgkkGLU
name: 'HTML restreint'
format: restricted_html
weight: 1
filters:
filter_html:
id: filter_html
provider: filter
status: true
weight: -10
settings:
allowed_html: '<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>'
filter_html_help: true
filter_html_nofollow: false
filter_autop:
id: filter_autop
provider: filter
status: true
weight: 0
settings: { }
filter_url:
id: filter_url
provider: filter
status: true
weight: 0
settings:
filter_url_length: 72
@@ -0,0 +1,51 @@
uuid: 4d858daa-ccb3-4f12-a54f-f9797f25aa85
langcode: fr
status: true
dependencies: { }
id: new_operation_node_send_email
label: 'New opération node send email'
events:
-
event_name: 'rules_entity_insert:node--operation'
description: ''
tags: { }
config_version: '3'
expression:
id: rules_rule
uuid: bdb7ab88-8b7d-4b73-8736-6b81b89da83e
weight: 0
conditions:
id: rules_and
uuid: f742b33f-3cd0-4685-84ac-4730946565f2
weight: 0
conditions: { }
actions:
id: rules_action_set
uuid: 52344b5b-f15b-4c76-a96d-dc7caf57f5c3
weight: 0
actions:
-
id: rules_action
uuid: 0c06331f-3d28-4886-a0c7-89e93f0d2989
weight: 0
action_id: rules_send_email
context_values:
to:
- dev@figureslibres.io
subject: '[REHA] nouvelle opération crée'
message: '@node.node_route_context:node.title'
reply: ''
language: ''
context_mapping: { }
context_processors:
to:
rules_tokens: { }
subject:
rules_tokens: { }
message:
rules_tokens: { }
reply:
rules_tokens: { }
language:
rules_tokens: { }
provides_mapping: { }
+9
View File
@@ -0,0 +1,9 @@
_core:
default_config_hash: ZKaBtyYFEhfwE4xVP-khSsZabdsN3NSjwOfzaZksez0
langcode: fr
system_log:
log_level: warning
debug_log:
enabled: false
system_debug: false
log_level: debug
+4
View File
@@ -2,9 +2,12 @@ uuid: b348c4e0-5a35-4922-86ac-f5ee0e1e08c2
langcode: fr
status: true
dependencies:
config:
- filter.format.restricted_html
module:
- config_pages
- devel
- filter
- system
_core:
default_config_hash: jyuRv_5UazPqBsQ9L4kDkcVvxtGr0WytAUoWf1LhqOk
@@ -15,6 +18,7 @@ is_admin: false
permissions:
- 'access content'
- 'access devel information'
- 'use text format restricted_html'
- 'view contact config page entity'
- 'view mentions_legales config page entity'
- 'view partenaires config page entity'