rule new operation sending email
This commit is contained in:
@@ -29,7 +29,9 @@
|
|||||||
"drupal/panels": "^4.7",
|
"drupal/panels": "^4.7",
|
||||||
"drupal/paragraphs": "^1.16",
|
"drupal/paragraphs": "^1.16",
|
||||||
"drupal/phone_number": "^2.0@alpha",
|
"drupal/phone_number": "^2.0@alpha",
|
||||||
|
"drupal/rules": "^3.0@alpha",
|
||||||
"drupal/social_media_links": "^2.9",
|
"drupal/social_media_links": "^2.9",
|
||||||
|
"drupal/typed_data": "^1.0@beta",
|
||||||
"drupal/webform": "^6.2",
|
"drupal/webform": "^6.2",
|
||||||
"wikimedia/composer-merge-plugin": "^2.1"
|
"wikimedia/composer-merge-plugin": "^2.1"
|
||||||
},
|
},
|
||||||
|
|||||||
Generated
+116
-1
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "2ee73d5782748e4512d1f15529f70d10",
|
"content-hash": "ae52207c0580112eec7a01ad7b214aeb",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "asm89/stack-cors",
|
"name": "asm89/stack-cors",
|
||||||
@@ -6348,6 +6348,65 @@
|
|||||||
"source": "https://git.drupalcode.org/project/redis"
|
"source": "https://git.drupalcode.org/project/redis"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "drupal/rules",
|
||||||
|
"version": "3.0.0-alpha8",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.drupalcode.org/project/rules.git",
|
||||||
|
"reference": "8.x-3.0-alpha8"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://ftp.drupal.org/files/projects/rules-8.x-3.0-alpha8.zip",
|
||||||
|
"reference": "8.x-3.0-alpha8",
|
||||||
|
"shasum": "22a44298b98000697efd86a29a8df1c0ce0bf44f"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"drupal/core": "^9.1 || ^10",
|
||||||
|
"drupal/typed_data": "^1.0"
|
||||||
|
},
|
||||||
|
"type": "drupal-module",
|
||||||
|
"extra": {
|
||||||
|
"drupal": {
|
||||||
|
"version": "8.x-3.0-alpha8",
|
||||||
|
"datestamp": "1696376270",
|
||||||
|
"security-coverage": {
|
||||||
|
"status": "not-covered",
|
||||||
|
"message": "Alpha releases are not covered by Drupal security advisories."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"drush": {
|
||||||
|
"services": {
|
||||||
|
"drush.services.yml": "^9 || ^10"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packages.drupal.org/8/downloads",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0-or-later"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "fago",
|
||||||
|
"homepage": "https://www.drupal.org/user/16747"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "klausi",
|
||||||
|
"homepage": "https://www.drupal.org/user/262198"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "TR",
|
||||||
|
"homepage": "https://www.drupal.org/user/202830"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "React on events and conditionally evaluate actions.",
|
||||||
|
"homepage": "https://www.drupal.org/project/rules",
|
||||||
|
"support": {
|
||||||
|
"source": "https://git.drupalcode.org/project/rules",
|
||||||
|
"issues": "https://www.drupal.org/project/issues/rules"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "drupal/search_api",
|
"name": "drupal/search_api",
|
||||||
"version": "1.30.0",
|
"version": "1.30.0",
|
||||||
@@ -6947,6 +7006,60 @@
|
|||||||
"source": "https://git.drupalcode.org/project/translation_views"
|
"source": "https://git.drupalcode.org/project/translation_views"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "drupal/typed_data",
|
||||||
|
"version": "1.0.0-beta2",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.drupalcode.org/project/typed_data.git",
|
||||||
|
"reference": "8.x-1.0-beta2"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://ftp.drupal.org/files/projects/typed_data-8.x-1.0-beta2.zip",
|
||||||
|
"reference": "8.x-1.0-beta2",
|
||||||
|
"shasum": "e0aa651b129d8dcd765ca49cba8682ebe09e6e73"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"drupal/core": "^9.1 || ^10"
|
||||||
|
},
|
||||||
|
"type": "drupal-module",
|
||||||
|
"extra": {
|
||||||
|
"drupal": {
|
||||||
|
"version": "8.x-1.0-beta2",
|
||||||
|
"datestamp": "1679429196",
|
||||||
|
"security-coverage": {
|
||||||
|
"status": "not-covered",
|
||||||
|
"message": "Beta releases are not covered by Drupal security advisories."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"drush": {
|
||||||
|
"services": {
|
||||||
|
"drush.services.yml": ">=9"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packages.drupal.org/8/downloads",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0-or-later"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "fago",
|
||||||
|
"homepage": "https://www.drupal.org/user/16747"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "TR",
|
||||||
|
"homepage": "https://www.drupal.org/user/202830"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Extends the core Typed Data API with new APIs and features.",
|
||||||
|
"homepage": "https://www.drupal.org/project/typed_data",
|
||||||
|
"support": {
|
||||||
|
"source": "https://git.drupalcode.org/project/typed_data",
|
||||||
|
"issues": "https://www.drupal.org/project/issues/typed_data"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "drupal/ultimate_cron",
|
"name": "drupal/ultimate_cron",
|
||||||
"version": "2.0.0-alpha6",
|
"version": "2.0.0-alpha6",
|
||||||
@@ -12471,6 +12584,8 @@
|
|||||||
"drupal/login_destination": 20,
|
"drupal/login_destination": 20,
|
||||||
"drupal/page_manager": 5,
|
"drupal/page_manager": 5,
|
||||||
"drupal/phone_number": 15,
|
"drupal/phone_number": 15,
|
||||||
|
"drupal/rules": 15,
|
||||||
|
"drupal/typed_data": 10,
|
||||||
"drupal/advanced_text_formatter": 5,
|
"drupal/advanced_text_formatter": 5,
|
||||||
"drupal/bulkdelete": 20,
|
"drupal/bulkdelete": 20,
|
||||||
"drupal/config_ignore": 5,
|
"drupal/config_ignore": 5,
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ _core:
|
|||||||
default_config_hash: R4IF-ClDHXxblLcG0L7MgsLvfBIMAvi_skumNFQwkDc
|
default_config_hash: R4IF-ClDHXxblLcG0L7MgsLvfBIMAvi_skumNFQwkDc
|
||||||
langcode: fr
|
langcode: fr
|
||||||
module:
|
module:
|
||||||
|
action: 0
|
||||||
actions_permissions: 0
|
actions_permissions: 0
|
||||||
address: 0
|
address: 0
|
||||||
admin_toolbar: 0
|
admin_toolbar: 0
|
||||||
@@ -92,6 +93,7 @@ module:
|
|||||||
phone_number: 0
|
phone_number: 0
|
||||||
redis: 0
|
redis: 0
|
||||||
responsive_image: 0
|
responsive_image: 0
|
||||||
|
rules: 0
|
||||||
search_api: 0
|
search_api: 0
|
||||||
search_api_db: 0
|
search_api_db: 0
|
||||||
smart_trim: 0
|
smart_trim: 0
|
||||||
@@ -104,6 +106,7 @@ module:
|
|||||||
token: 0
|
token: 0
|
||||||
toolbar: 0
|
toolbar: 0
|
||||||
translation_views: 0
|
translation_views: 0
|
||||||
|
typed_data: 0
|
||||||
update: 0
|
update: 0
|
||||||
user: 0
|
user: 0
|
||||||
video_embed_field: 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: { }
|
||||||
@@ -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
|
||||||
@@ -2,9 +2,12 @@ uuid: b348c4e0-5a35-4922-86ac-f5ee0e1e08c2
|
|||||||
langcode: fr
|
langcode: fr
|
||||||
status: true
|
status: true
|
||||||
dependencies:
|
dependencies:
|
||||||
|
config:
|
||||||
|
- filter.format.restricted_html
|
||||||
module:
|
module:
|
||||||
- config_pages
|
- config_pages
|
||||||
- devel
|
- devel
|
||||||
|
- filter
|
||||||
- system
|
- system
|
||||||
_core:
|
_core:
|
||||||
default_config_hash: jyuRv_5UazPqBsQ9L4kDkcVvxtGr0WytAUoWf1LhqOk
|
default_config_hash: jyuRv_5UazPqBsQ9L4kDkcVvxtGr0WytAUoWf1LhqOk
|
||||||
@@ -15,6 +18,7 @@ is_admin: false
|
|||||||
permissions:
|
permissions:
|
||||||
- 'access content'
|
- 'access content'
|
||||||
- 'access devel information'
|
- 'access devel information'
|
||||||
|
- 'use text format restricted_html'
|
||||||
- 'view contact config page entity'
|
- 'view contact config page entity'
|
||||||
- 'view mentions_legales config page entity'
|
- 'view mentions_legales config page entity'
|
||||||
- 'view partenaires config page entity'
|
- 'view partenaires config page entity'
|
||||||
|
|||||||
@@ -3,56 +3,6 @@
|
|||||||
# To activate this feature, follow the instructions at the top of the
|
# To activate this feature, follow the instructions at the top of the
|
||||||
# 'example.settings.local.php' file, which sits next to this file.
|
# 'example.settings.local.php' file, which sits next to this file.
|
||||||
parameters:
|
parameters:
|
||||||
twig.config:
|
|
||||||
# Twig debugging:
|
|
||||||
#
|
|
||||||
# When debugging is enabled:
|
|
||||||
# - The markup of each Twig template is surrounded by HTML comments that
|
|
||||||
# contain theming information, such as template file name suggestions.
|
|
||||||
# - Note that this debugging markup will cause automated tests that directly
|
|
||||||
# check rendered HTML to fail. When running automated tests, 'debug'
|
|
||||||
# should be set to FALSE.
|
|
||||||
# - The dump() function can be used in Twig templates to output information
|
|
||||||
# about template variables.
|
|
||||||
# - Twig templates are automatically recompiled whenever the source code
|
|
||||||
# changes (see auto_reload below).
|
|
||||||
#
|
|
||||||
# For more information about debugging Twig templates, see
|
|
||||||
# https://www.drupal.org/node/1906392.
|
|
||||||
#
|
|
||||||
# Not recommended in production environments
|
|
||||||
# @default false
|
|
||||||
debug: true
|
|
||||||
# Twig auto-reload:
|
|
||||||
#
|
|
||||||
# Automatically recompile Twig templates whenever the source code changes.
|
|
||||||
# If you don't provide a value for auto_reload, it will be determined
|
|
||||||
# based on the value of debug.
|
|
||||||
#
|
|
||||||
# Not recommended in production environments
|
|
||||||
# @default null
|
|
||||||
auto_reload: null
|
|
||||||
# Twig cache:
|
|
||||||
#
|
|
||||||
# By default, Twig templates will be compiled and stored in the filesystem
|
|
||||||
# to increase performance. Disabling the Twig cache will recompile the
|
|
||||||
# templates from source each time they are used. In most cases the
|
|
||||||
# auto_reload setting above should be enabled rather than disabling the
|
|
||||||
# Twig cache.
|
|
||||||
#
|
|
||||||
# Not recommended in production environments
|
|
||||||
# @default true
|
|
||||||
cache: false
|
|
||||||
# Cacheability debugging:
|
|
||||||
#
|
|
||||||
# Responses with cacheability metadata (CacheableResponseInterface instances)
|
|
||||||
# get X-Drupal-Cache-Tags and X-Drupal-Cache-Contexts headers.
|
|
||||||
#
|
|
||||||
# For more information about debugging cacheable responses, see
|
|
||||||
# https://www.drupal.org/developing/api/8/response/cacheable-response-interface
|
|
||||||
#
|
|
||||||
# Not recommended in production environments
|
|
||||||
# @default false
|
|
||||||
http.response.debug_cacheability_headers: true
|
http.response.debug_cacheability_headers: true
|
||||||
services:
|
services:
|
||||||
cache.backend.null:
|
cache.backend.null:
|
||||||
|
|||||||
Reference in New Issue
Block a user