Compare commits
8 Commits
81baad4e57
...
0de5789923
Author | SHA1 | Date | |
---|---|---|---|
0de5789923 | |||
8ecf59b87d | |||
883187472d | |||
28803a51ba | |||
37fc11f331 | |||
e784a79df9 | |||
a9c5a3f9c1 | |||
29f5d8e04b |
@ -71,17 +71,11 @@
|
||||
"drupal/audiofield": "^1.10",
|
||||
"drupal/auto_entitylabel": "^3.1",
|
||||
"drupal/better_messages": "^2.0@alpha",
|
||||
"drupal/ckeditor_codemirror": "^2.3",
|
||||
"drupal/ckeditor_font": "^1.2",
|
||||
"drupal/ckeditor_uploadimage": "^2.0",
|
||||
"drupal/colorbutton": "^1.3",
|
||||
"drupal/commerce": "^2.0",
|
||||
"drupal/commerce_cart_api": "^1.4",
|
||||
"drupal/commerce_cart_redirection": "^3.0",
|
||||
"drupal/commerce_email": "^1.5",
|
||||
"drupal/commerce_license": "^3.0",
|
||||
"drupal/commerce_migrate": "^3.1",
|
||||
"drupal/commerce_monetico": "^1.0",
|
||||
"drupal/commerce_pricelist": "^2.4",
|
||||
"drupal/commerce_recurring": "^1.0@RC",
|
||||
"drupal/commerce_stripe": "^1.1",
|
||||
@ -92,12 +86,11 @@
|
||||
"drupal/config_pages": "^2.9",
|
||||
"drupal/config_split": "^2.0@beta",
|
||||
"drupal/consumer_image_styles": "^4.0",
|
||||
"drupal/content_sync": "^2.x-dev@dev",
|
||||
"drupal/core-composer-scaffold": "9.5.9",
|
||||
"drupal/core-project-message": "9.5.9",
|
||||
"drupal/core-recommended": "9.5.9",
|
||||
"drupal/csv_serialization": "^3.0",
|
||||
"drupal/ctools": "^4.0",
|
||||
"drupal/debug_bar": "^1.4",
|
||||
"drupal/devel": "^5.0",
|
||||
"drupal/devel_entity_updates": "^4.1",
|
||||
"drupal/editor_advanced_link": "^2",
|
||||
@ -109,37 +102,28 @@
|
||||
"drupal/flag_lists": "^4.0@RC",
|
||||
"drupal/flood_control": "^2.3",
|
||||
"drupal/gdpr": "^3.1",
|
||||
"drupal/genpass": "^1.x-dev",
|
||||
"drupal/genpass": "^2.0",
|
||||
"drupal/google_analytics": "^4.0",
|
||||
"drupal/graphql": "4.x-dev@dev",
|
||||
"drupal/image_delta_formatter": "^1.x-dev",
|
||||
"drupal/image_effects": "^3.x-dev@dev",
|
||||
"drupal/graphql": "^4.7",
|
||||
"drupal/image_delta_formatter": "^1.2",
|
||||
"drupal/image_effects": "^3.4",
|
||||
"drupal/js_cache_buster": "^1.0",
|
||||
"drupal/jsonapi_extras": "^3.21",
|
||||
"drupal/jsonrpc": "^2.0",
|
||||
"drupal/login_destination": "^2.x-dev@dev",
|
||||
"drupal/login_history": "^1.x-dev",
|
||||
"drupal/login_history": "^2.0",
|
||||
"drupal/login_tracker": "^2.0",
|
||||
"drupal/mailgun": "^1.x-dev",
|
||||
"drupal/mailjet": "3.0.x-dev@dev",
|
||||
"drupal/mailsystem": "^4.1",
|
||||
"drupal/masquerade": "^2.x-dev@dev",
|
||||
"drupal/mailjet": "^4.0",
|
||||
"drupal/maillog": "^1.1",
|
||||
"drupal/masquerade": "^2.0",
|
||||
"drupal/maxlength": "^2.1",
|
||||
"drupal/migrate_plus": "^5.x-dev@dev",
|
||||
"drupal/migrate_tools": "^5.x-dev@dev",
|
||||
"drupal/mimemail": "^1.x-dev",
|
||||
"drupal/modules_weight": "^1.8",
|
||||
"drupal/modules_weight": "^3.0",
|
||||
"drupal/pagerer": "^2.3",
|
||||
"drupal/password_policy": "^4.0",
|
||||
"drupal/payment": "^2.1",
|
||||
"drupal/pdf_api": "^2.4",
|
||||
"drupal/permissions_filter": "^1.1",
|
||||
"drupal/printable": "^3.1",
|
||||
"drupal/profile": "1.x-dev@dev",
|
||||
"drupal/pwa": "^2.1@beta",
|
||||
"drupal/redirect": "^1.x-dev@dev",
|
||||
"drupal/redis": "^1.5",
|
||||
"drupal/reroute_email": "^2.1",
|
||||
"drupal/restui": "^1.16",
|
||||
"drupal/role_delegation": "^1.1",
|
||||
"drupal/role_expire": "^3.0",
|
||||
@ -148,33 +132,30 @@
|
||||
"drupal/search_api_autocomplete": "^1.2",
|
||||
"drupal/search_api_page": "^1.x-dev",
|
||||
"drupal/search_api_solr": "^4.2",
|
||||
"drupal/select_translation": "^1.x-dev",
|
||||
"drupal/select_translation": "^2.0@alpha",
|
||||
"drupal/session_limit": "^2.0@beta",
|
||||
"drupal/simplenews": "3.x-dev@dev",
|
||||
"drupal/simplenews_mailjet_subscriptions": "1.x-dev@dev",
|
||||
"drupal/simplenews": "^4.0",
|
||||
"drupal/simplenews_mailjet_subscriptions": "^1.3",
|
||||
"drupal/social_media_links": "^2.8",
|
||||
"drupal/string_translation_ui": "^2.0",
|
||||
"drupal/strings_i18n_json_export": "^1.x-dev@dev",
|
||||
"drupal/structure_sync": "^2.0",
|
||||
"drupal/symfony_mailer": "^1",
|
||||
"drupal/synonyms": "^2.0.0-beta2",
|
||||
"drupal/telephone_formatter": "^1.0@beta",
|
||||
"drupal/telephone_validation": "^2.1",
|
||||
"drupal/term_reference_tree": "1.1.0",
|
||||
"drupal/term_reference_tree": "^2.0",
|
||||
"drupal/translation_views": "1.x-dev@dev",
|
||||
"drupal/ultimate_cron": "^2.x-dev",
|
||||
"drupal/unique_content_field_validation": "^1.0",
|
||||
"drupal/unique_content_field_validation": "^1.1",
|
||||
"drupal/upgrade_status": "^4.3",
|
||||
"drupal/url_to_video_filter": "^2.0",
|
||||
"drupal/user_csv_import": "^2.0",
|
||||
"drupal/user_email_verification": "^1.x-dev@dev",
|
||||
"drupal/user_email_verification": "^1.2",
|
||||
"drupal/user_history": "^1.0",
|
||||
"drupal/vde_drush": "^2.1",
|
||||
"drupal/views_conditional": "^1.x-dev",
|
||||
"drupal/views_conditional": "^1.10",
|
||||
"drupal/views_data_export": "^1.1",
|
||||
"drupal/views_ef_fieldset": "^1.5",
|
||||
"drupal/views_field_view": "1.x-dev@dev",
|
||||
"drupal/webform": "^6.0",
|
||||
"drupal/webform": "^6.2",
|
||||
"drupal/workflow": "^1.5",
|
||||
"kint-php/kint": "^3.3",
|
||||
"smalot/pdfparser": "*",
|
||||
@ -271,11 +252,12 @@
|
||||
"drupal/flag": {
|
||||
"remove flag hooks to allow site to be accessible again https://www.drupal.org/project/flag/issues/3200806": "./patches/flag-commenthooks.patch"
|
||||
},
|
||||
"drupal/pwa": {
|
||||
"Manifest doesn't have a maskable icon https://www.drupal.org/project/pwa/issues/3165433": "https://www.drupal.org/files/issues/2024-03-10/manifest-doesnt-have-a-maskable-icon-error-3165433-20.patch"
|
||||
"drupal/mailjet": {
|
||||
"DrupalmailjetControllerMailjetRegisterController::redirectRegister() does not exist https://www.drupal.org/project/mailjet/issues/3450474": "https://www.drupal.org/files/issues/2024-05-29/mailjet-15615025-5.patch"
|
||||
},
|
||||
"drupal/term_reference_tree": {
|
||||
"Term Reference Tree: Re-implement Track List https://www.drupal.org/project/term_reference_tree/issues/3064280": "https://www.drupal.org/files/issues/2022-02-07/3064280_bring_back_tracklist-16.patch"
|
||||
"drupal/pwa": {
|
||||
"Manifest doesn't have a maskable icon https://www.drupal.org/project/pwa/issues/3165433": "https://www.drupal.org/files/issues/2024-03-10/manifest-doesnt-have-a-maskable-icon-error-3165433-20.patch",
|
||||
"Undefined array key name https://www.drupal.org/project/pwa/issues/3422906": "https://www.drupal.org/files/issues/2024-02-21/pwa-3422906-3.patch"
|
||||
},
|
||||
"drupal/toolbar_theme": {
|
||||
"Automated Drupal 9 compatibility fixes https://www.drupal.org/project/toolbar_themes/issues/3149099": "https://www.drupal.org/files/issues/2020-06-06/toolbar_themes.1.x-dev.rector.patch"
|
||||
@ -283,9 +265,6 @@
|
||||
"weitzman/drupal-test-traits": {
|
||||
"Define void return type for setUp() and tearDown() methods https://gitlab.com/weitzman/drupal-test-traits/-/issues/78":"./patches/Definevoidreturntype2.patch"
|
||||
},
|
||||
"drupal/mailjet": {
|
||||
"https://www.drupal.org/project/mailjet/issues/3325412":"https://www.drupal.org/files/issues/2022-12-05/mailjet-list_instead_of_listid.patch"
|
||||
},
|
||||
"drupal/simplenews_mailjet_subscriptions": {
|
||||
"using mailjet module":"./patches/simplenews_mailjet_subscriptions__usingmailjetmodule#3.patch"
|
||||
},
|
||||
@ -313,6 +292,12 @@
|
||||
"drupal/field_group": {
|
||||
"undefined index name 18 https://www.drupal.org/project/field_group/issues/3064890" : "https://www.drupal.org/files/issues/2020-10-01/field_group-undefined-index-name-3064890-18.patch",
|
||||
"undefined index name 16 https://www.drupal.org/project/field_group/issues/3064890" : "https://www.drupal.org/files/issues/2020-08-10/field_group-undefined-index-name-3064890-16.patch"
|
||||
},
|
||||
"drupal/mailjet": {
|
||||
"https://www.drupal.org/project/mailjet/issues/3325412":"https://www.drupal.org/files/issues/2022-12-05/mailjet-list_instead_of_listid.patch"
|
||||
},
|
||||
"drupal/term_reference_tree": {
|
||||
"Term Reference Tree: Re-implement Track List https://www.drupal.org/project/term_reference_tree/issues/3064280": "https://www.drupal.org/files/issues/2022-02-07/3064280_bring_back_tracklist-16.patch"
|
||||
}
|
||||
},
|
||||
"drupal-scaffold": {
|
||||
|
3940
composer.lock
generated
3940
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -116,3 +116,4 @@ cloneable_entities:
|
||||
- entity_view_display
|
||||
- entity_form_display
|
||||
- date_format
|
||||
- simplenews_subscriber_history
|
||||
|
22
config/sync/block.block.workflowtransitionform.yml
Normal file
22
config/sync/block.block.workflowtransitionform.yml
Normal file
@ -0,0 +1,22 @@
|
||||
uuid: 1fa04199-b67e-40fa-8a5b-5da044dc6b3b
|
||||
langcode: en
|
||||
status: false
|
||||
dependencies:
|
||||
module:
|
||||
- workflow
|
||||
theme:
|
||||
- null
|
||||
_core:
|
||||
default_config_hash: Cs2l2qZ2r60qh0aD5hM7ePYviecEo81KvYpFMUgPP2k
|
||||
id: workflowtransitionform
|
||||
theme: null
|
||||
region: ''
|
||||
weight: -7
|
||||
provider: workflow
|
||||
plugin: workflow_transition_form_block
|
||||
settings:
|
||||
id: workflow_transition_form_block
|
||||
label: 'Workflow Transition form'
|
||||
label_display: visible
|
||||
provider: workflow
|
||||
visibility: { }
|
@ -26,6 +26,7 @@ module:
|
||||
bulkdelete: 0
|
||||
checklistapi: 0
|
||||
ckeditor5: 0
|
||||
color: 0
|
||||
commerce: 0
|
||||
commerce_cart: 0
|
||||
commerce_cart_api: 0
|
||||
@ -189,7 +190,6 @@ module:
|
||||
sophron: 0
|
||||
state_machine: 0
|
||||
string_translation_ui: 0
|
||||
strings_i18n_json_export: 0
|
||||
structure_sync: 0
|
||||
symfony_mailer: 0
|
||||
synonyms: 0
|
||||
@ -213,7 +213,6 @@ module:
|
||||
typed_data: 0
|
||||
ultimate_cron: 0
|
||||
unique_content_field_validation: 0
|
||||
url_to_video_filter: 0
|
||||
user: 0
|
||||
user_csv_import: 0
|
||||
user_email_verification: 0
|
||||
|
47
config/sync/editor.editor.webform_default.yml
Normal file
47
config/sync/editor.editor.webform_default.yml
Normal file
@ -0,0 +1,47 @@
|
||||
uuid: 829826f2-8ada-4e71-9261-7e63566fc10f
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- filter.format.webform_default
|
||||
module:
|
||||
- ckeditor5
|
||||
format: webform_default
|
||||
editor: ckeditor5
|
||||
settings:
|
||||
toolbar:
|
||||
items:
|
||||
- heading
|
||||
- '|'
|
||||
- bold
|
||||
- italic
|
||||
- subscript
|
||||
- superscript
|
||||
- '|'
|
||||
- specialCharacters
|
||||
- '|'
|
||||
- numberedList
|
||||
- bulletedList
|
||||
- '|'
|
||||
- link
|
||||
- '|'
|
||||
- indent
|
||||
- outdent
|
||||
- '|'
|
||||
- blockQuote
|
||||
- '|'
|
||||
- sourceEditing
|
||||
plugins:
|
||||
ckeditor5_heading:
|
||||
enabled_headings:
|
||||
- heading2
|
||||
- heading3
|
||||
- heading4
|
||||
- heading5
|
||||
- heading6
|
||||
ckeditor5_list:
|
||||
reversed: true
|
||||
startIndex: true
|
||||
ckeditor5_sourceEditing:
|
||||
allowed_tags: { }
|
||||
image_upload: { }
|
@ -5,7 +5,6 @@ dependencies:
|
||||
module:
|
||||
- editor
|
||||
- linkit
|
||||
- url_to_video_filter
|
||||
name: 'full html'
|
||||
format: full_html
|
||||
weight: -9
|
||||
@ -22,16 +21,6 @@ filters:
|
||||
status: true
|
||||
weight: 9
|
||||
settings: { }
|
||||
filter_url_to_video:
|
||||
id: filter_url_to_video
|
||||
provider: url_to_video_filter
|
||||
status: false
|
||||
weight: 0
|
||||
settings:
|
||||
youtube: '1'
|
||||
youtube_webp_preview: '0'
|
||||
vimeo: '1'
|
||||
autoload: '0'
|
||||
editor_file_reference:
|
||||
id: editor_file_reference
|
||||
provider: editor
|
||||
|
13
config/sync/filter.format.webform_default.yml
Normal file
13
config/sync/filter.format.webform_default.yml
Normal file
@ -0,0 +1,13 @@
|
||||
uuid: f2501823-d720-44ba-b128-8955bd18203e
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
enforced:
|
||||
module:
|
||||
- webform
|
||||
_core:
|
||||
default_config_hash: EeKp_M4Oid3erARiAam9rsgBKR91uEnFkEP3aZS2ol8
|
||||
name: 'Webform (Default) - DO NOT EDIT'
|
||||
format: webform_default
|
||||
weight: 100
|
||||
filters: { }
|
@ -5,7 +5,6 @@ dependencies:
|
||||
module:
|
||||
- editor
|
||||
- linkit
|
||||
- url_to_video_filter
|
||||
_core:
|
||||
default_config_hash: w3wAkgsV6hn7P_cXCSnV-_1B_HOVJ7qwjv2DZID3B7g
|
||||
name: wysiwyg
|
||||
@ -70,16 +69,6 @@ filters:
|
||||
status: false
|
||||
weight: -42
|
||||
settings: { }
|
||||
filter_url_to_video:
|
||||
id: filter_url_to_video
|
||||
provider: url_to_video_filter
|
||||
status: false
|
||||
weight: -46
|
||||
settings:
|
||||
youtube: '1'
|
||||
youtube_webp_preview: '0'
|
||||
vimeo: '1'
|
||||
autoload: '0'
|
||||
linkit:
|
||||
id: linkit
|
||||
provider: linkit
|
||||
|
@ -1,6 +1,7 @@
|
||||
_core:
|
||||
default_config_hash: HNSTwPQM5lvXFeH4cVlcB2gZFJ5S--Nbmfj7651HK24
|
||||
genpass_length: 12
|
||||
genpass_algorithm: user
|
||||
genpass_mode: 1
|
||||
genpass_display: 3
|
||||
genpass_admin_mode: 1
|
||||
genpass_override_core: false
|
||||
|
@ -1,2 +0,0 @@
|
||||
subscription:
|
||||
confirm_combined_subject: 'Confirmation de [site:name]'
|
@ -3,24 +3,7 @@ display:
|
||||
default:
|
||||
display_title: Principal
|
||||
display_options:
|
||||
exposed_form:
|
||||
options:
|
||||
submit_button: Appliquer
|
||||
reset_button_label: Réinitialiser
|
||||
exposed_sorts_label: 'Trier par'
|
||||
sort_asc_label: Asc
|
||||
sort_desc_label: Desc
|
||||
pager:
|
||||
options:
|
||||
expose:
|
||||
items_per_page_label: 'Éléments par page'
|
||||
items_per_page_options_all_label: '- Tout -'
|
||||
offset_label: Décalage
|
||||
tags:
|
||||
previous: "‹\_précédent"
|
||||
next: "suivant\_›"
|
||||
first: "«\_premier"
|
||||
last: "dernier\_»"
|
||||
title: Boutiques
|
||||
fields:
|
||||
commerce_store_bulk_form:
|
||||
action_title: 'Pour la sélection'
|
||||
@ -32,10 +15,27 @@ display:
|
||||
separator: ', '
|
||||
operations:
|
||||
label: Actions
|
||||
pager:
|
||||
options:
|
||||
tags:
|
||||
next: "suivant\_›"
|
||||
previous: "‹\_précédent"
|
||||
first: "«\_premier"
|
||||
last: "dernier\_»"
|
||||
expose:
|
||||
items_per_page_label: 'Éléments par page'
|
||||
items_per_page_options_all_label: '- Tout -'
|
||||
offset_label: Décalage
|
||||
exposed_form:
|
||||
options:
|
||||
submit_button: Appliquer
|
||||
reset_button_label: Réinitialiser
|
||||
exposed_sorts_label: 'Trier par'
|
||||
sort_asc_label: Asc
|
||||
sort_desc_label: Desc
|
||||
filters:
|
||||
type:
|
||||
expose:
|
||||
label: Type
|
||||
title: Boutiques
|
||||
page_1:
|
||||
display_title: Page
|
||||
|
@ -40,8 +40,5 @@ display:
|
||||
status:
|
||||
expose:
|
||||
label: Actif
|
||||
subscriptions_status:
|
||||
expose:
|
||||
label: Etat
|
||||
page_1:
|
||||
display_title: Page
|
||||
|
1
config/sync/masquerade.settings.yml
Normal file
1
config/sync/masquerade.settings.yml
Normal file
@ -0,0 +1 @@
|
||||
update_user_last_access: true
|
@ -16,4 +16,5 @@ allowed_handlers:
|
||||
simplenews_all: '0'
|
||||
new_account: none
|
||||
access: default
|
||||
reason: ''
|
||||
weight: 0
|
||||
|
@ -16,4 +16,5 @@ allowed_handlers:
|
||||
simplenews_all: '0'
|
||||
new_account: 'on'
|
||||
access: default
|
||||
reason: ''
|
||||
weight: 0
|
||||
|
@ -16,4 +16,5 @@ allowed_handlers:
|
||||
simplenews_all: '0'
|
||||
new_account: none
|
||||
access: default
|
||||
reason: ''
|
||||
weight: 0
|
||||
|
@ -16,4 +16,5 @@ allowed_handlers:
|
||||
simplenews_all: '0'
|
||||
new_account: none
|
||||
access: default
|
||||
reason: ''
|
||||
weight: 0
|
||||
|
@ -16,4 +16,5 @@ allowed_handlers:
|
||||
simplenews_all: '0'
|
||||
new_account: 'on'
|
||||
access: default
|
||||
reason: ''
|
||||
weight: 0
|
||||
|
@ -13,9 +13,8 @@ subscriber:
|
||||
subscription:
|
||||
skip_verification: false
|
||||
tidy_unconfirmed: 7
|
||||
confirm_combined_subject: 'Confirmation for [site:name]'
|
||||
confirm_combined_body: "We have received a request to subscribe [simplenews-subscriber:mail] at [site:url]. To confirm please use the link below.\r\n\r\n[simplenews-subscriber:combined-url]"
|
||||
confirm_combined_body_unchanged: 'We have received a request to subscribe [simplenews-subscriber:mail] at [site:url]. No confirmation necessary because you are already subscribed.'
|
||||
confirm_subject: 'Confirmation for [site:name]'
|
||||
confirm_body: "We have received a request to subscribe [simplenews-subscriber:mail] at [site:url]. To confirm please use the link below.\r\n\r\n[simplenews-subscriber:confirm-url]"
|
||||
confirm_subscribe_page: ''
|
||||
confirm_unsubscribe_page: ''
|
||||
validate_subject: 'Manage your subscriptions at [site:name]'
|
||||
|
@ -1 +0,0 @@
|
||||
export_type: '0'
|
@ -0,0 +1,24 @@
|
||||
uuid: 658e9e99-a52a-42ca-9c40-b8c629b6c283
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- workflow
|
||||
_core:
|
||||
default_config_hash: RimpsF-N-uVXv3vtX3fza0-kJxlXdRmKLPiQU6IubdE
|
||||
id: change_a_node_to_next_workflow_state
|
||||
label: 'Change a node to next Workflow state'
|
||||
type: node
|
||||
plugin: workflow_node_next_state_action
|
||||
configuration:
|
||||
label: 'Change a node to next Workflow state'
|
||||
id: change_a_node_to_next_workflow_state
|
||||
plugin: workflow_node_next_state_action
|
||||
type: node
|
||||
timestamp:
|
||||
scheduled: '0'
|
||||
comment: 'New state is set by a triggered Action.'
|
||||
force: 0
|
||||
actions: { }
|
||||
field_name: ''
|
||||
to_sid: ''
|
14
config/sync/system.action.genpass_set_random_password.yml
Normal file
14
config/sync/system.action.genpass_set_random_password.yml
Normal file
@ -0,0 +1,14 @@
|
||||
uuid: 75f1628b-741f-4069-adbf-685d004e5c14
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- genpass
|
||||
enforced:
|
||||
module:
|
||||
- genpass
|
||||
id: genpass_set_random_password
|
||||
label: 'Set new random password for user(s)'
|
||||
type: user
|
||||
plugin: genpass_set_random_password
|
||||
configuration: { }
|
14
config/sync/system.action.node_edit_action.yml
Normal file
14
config/sync/system.action.node_edit_action.yml
Normal file
@ -0,0 +1,14 @@
|
||||
uuid: d85496d9-44e4-4d30-8e41-c06ca2166a57
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- node
|
||||
- views_bulk_edit
|
||||
_core:
|
||||
default_config_hash: 0vLpSGhoYOPeREkfW-7bDeJOwEfW3zeG3nUBwUgsKQI
|
||||
id: node_edit_action
|
||||
label: 'Edit content'
|
||||
type: node
|
||||
plugin: 'entity:edit_action:node'
|
||||
configuration: { }
|
14
config/sync/system.action.taxonomy_term_edit_action.yml
Normal file
14
config/sync/system.action.taxonomy_term_edit_action.yml
Normal file
@ -0,0 +1,14 @@
|
||||
uuid: 6c08e79f-35b1-4a9a-b442-535ccca324de
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- taxonomy
|
||||
- views_bulk_edit
|
||||
_core:
|
||||
default_config_hash: b5BETc7ATggsTs4n0jHuPnUbl-QJ5Y4obwjOAsAjMU0
|
||||
id: taxonomy_term_edit_action
|
||||
label: 'Edit taxonomy terms'
|
||||
type: taxonomy_term
|
||||
plugin: 'entity:edit_action:taxonomy_term'
|
||||
configuration: { }
|
14
config/sync/system.action.user_edit_action.yml
Normal file
14
config/sync/system.action.user_edit_action.yml
Normal file
@ -0,0 +1,14 @@
|
||||
uuid: 00e01281-6d73-4ce9-8b09-eecf974d9346
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- user
|
||||
- views_bulk_edit
|
||||
_core:
|
||||
default_config_hash: Bjz27y1Z8D8KsOY6XIy3E79Cl7VDXkWLpePx2NqCc1M
|
||||
id: user_edit_action
|
||||
label: 'Edit users'
|
||||
type: user
|
||||
plugin: 'entity:edit_action:user'
|
||||
configuration: { }
|
@ -1,17 +0,0 @@
|
||||
uuid: 616a982c-cdd0-41b6-9a25-7f7365f0f2f7
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- strings_i18n_json_export
|
||||
title: 'Default cron handler'
|
||||
id: strings_i18n_json_export_cron
|
||||
weight: 0
|
||||
module: strings_i18n_json_export
|
||||
callback: strings_i18n_json_export_cron
|
||||
scheduler:
|
||||
id: simple
|
||||
launcher:
|
||||
id: serial
|
||||
logger:
|
||||
id: database
|
@ -4,6 +4,7 @@ status: true
|
||||
dependencies:
|
||||
config:
|
||||
- node.type.note
|
||||
- workflow.workflow.workflow
|
||||
module:
|
||||
- commerce_license
|
||||
- eu_cookie_compliance
|
||||
|
@ -18,6 +18,8 @@ dependencies:
|
||||
- taxonomy.vocabulary.showroom
|
||||
- taxonomy.vocabulary.tags
|
||||
- taxonomy.vocabulary.thesaurus
|
||||
- workflow.workflow.migration
|
||||
- workflow.workflow.workflow
|
||||
module:
|
||||
- actions_permissions
|
||||
- commerce
|
||||
|
@ -4,6 +4,7 @@ status: true
|
||||
dependencies:
|
||||
config:
|
||||
- node.type.note
|
||||
- workflow.workflow.workflow
|
||||
module:
|
||||
- commerce_license
|
||||
- eu_cookie_compliance
|
||||
|
@ -6,6 +6,8 @@ dependencies:
|
||||
- filter.format.restricted_html
|
||||
- filter.format.wysiwyg
|
||||
- rest.resource.user_registration
|
||||
- workflow.workflow.migration
|
||||
- workflow.workflow.workflow
|
||||
module:
|
||||
- commerce_checkout
|
||||
- commerce_product
|
||||
|
@ -3,8 +3,10 @@ langcode: fr
|
||||
status: true
|
||||
dependencies:
|
||||
config:
|
||||
- filter.format.webform_default
|
||||
- filter.format.wysiwyg
|
||||
- rest.resource.user_registration
|
||||
- workflow.workflow.workflow
|
||||
module:
|
||||
- commerce_checkout
|
||||
- commerce_order
|
||||
@ -47,6 +49,7 @@ permissions:
|
||||
- 'restful post user_registration'
|
||||
- 'subscribe to newsletters'
|
||||
- 'update own customer profile'
|
||||
- 'use text format webform_default'
|
||||
- 'use text format wysiwyg'
|
||||
- 'view body'
|
||||
- 'view commerce_product'
|
||||
|
@ -4,6 +4,7 @@ status: true
|
||||
dependencies:
|
||||
config:
|
||||
- node.type.note
|
||||
- workflow.workflow.workflow
|
||||
module:
|
||||
- eu_cookie_compliance
|
||||
- field_permissions
|
||||
|
@ -116,6 +116,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: true
|
||||
@ -2140,6 +2141,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: true
|
||||
@ -4582,6 +4584,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: false
|
||||
@ -6170,6 +6173,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: true
|
||||
|
@ -101,6 +101,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: true
|
||||
@ -1563,6 +1564,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: true
|
||||
@ -2680,6 +2682,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: true
|
||||
@ -3646,6 +3649,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: true
|
||||
@ -4358,6 +4362,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: true
|
||||
@ -5387,6 +5392,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: true
|
||||
|
@ -115,6 +115,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: false
|
||||
@ -2191,6 +2192,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: false
|
||||
@ -3299,8 +3301,8 @@ display:
|
||||
filter_rewrite_values: ''
|
||||
filter_rewrite_values_key: false
|
||||
collapsible: false
|
||||
is_secondary: false
|
||||
collapsible_disable_automatic_open: false
|
||||
is_secondary: false
|
||||
roles_target_id:
|
||||
plugin_id: default
|
||||
advanced:
|
||||
@ -3309,15 +3311,15 @@ display:
|
||||
filter_rewrite_values: ''
|
||||
filter_rewrite_values_key: false
|
||||
collapsible: false
|
||||
is_secondary: false
|
||||
collapsible_disable_automatic_open: false
|
||||
is_secondary: false
|
||||
mail:
|
||||
plugin_id: default
|
||||
advanced:
|
||||
placeholder_text: ''
|
||||
collapsible: false
|
||||
is_secondary: false
|
||||
collapsible_disable_automatic_open: false
|
||||
is_secondary: false
|
||||
uid:
|
||||
plugin_id: default
|
||||
advanced:
|
||||
@ -3326,8 +3328,8 @@ display:
|
||||
filter_rewrite_values: ''
|
||||
filter_rewrite_values_key: false
|
||||
collapsible: false
|
||||
is_secondary: false
|
||||
collapsible_disable_automatic_open: false
|
||||
is_secondary: false
|
||||
field_company_target_id:
|
||||
plugin_id: default
|
||||
advanced:
|
||||
@ -3336,8 +3338,8 @@ display:
|
||||
filter_rewrite_values: ''
|
||||
filter_rewrite_values_key: false
|
||||
collapsible: false
|
||||
is_secondary: false
|
||||
collapsible_disable_automatic_open: false
|
||||
is_secondary: false
|
||||
field_showroom_target_id:
|
||||
plugin_id: default
|
||||
advanced:
|
||||
@ -3346,14 +3348,14 @@ display:
|
||||
filter_rewrite_values: ''
|
||||
filter_rewrite_values_key: false
|
||||
collapsible: false
|
||||
is_secondary: false
|
||||
collapsible_disable_automatic_open: false
|
||||
is_secondary: false
|
||||
field_memo_value:
|
||||
plugin_id: default
|
||||
advanced:
|
||||
collapsible: false
|
||||
is_secondary: false
|
||||
collapsible_disable_automatic_open: false
|
||||
is_secondary: false
|
||||
filters:
|
||||
status:
|
||||
id: status
|
||||
@ -4183,6 +4185,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: true
|
||||
@ -5365,6 +5368,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: true
|
||||
@ -6587,6 +6591,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: true
|
||||
@ -7841,6 +7846,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: false
|
||||
|
@ -247,7 +247,7 @@ display:
|
||||
type: basic
|
||||
options:
|
||||
submit_button: Filter
|
||||
reset_button: false
|
||||
reset_button: true
|
||||
reset_button_label: Reset
|
||||
exposed_sorts_label: 'Sort by'
|
||||
expose_sort_order: true
|
||||
|
@ -6,6 +6,7 @@ dependencies:
|
||||
- field.storage.user.field_memo
|
||||
module:
|
||||
- csv_serialization
|
||||
- options
|
||||
- rest
|
||||
- serialization
|
||||
- simplenews
|
||||
@ -388,8 +389,8 @@ display:
|
||||
admin_label: ''
|
||||
entity_type: simplenews_subscriber
|
||||
entity_field: status
|
||||
plugin_id: boolean
|
||||
label: Active
|
||||
plugin_id: field
|
||||
label: Status
|
||||
exclude: false
|
||||
alter:
|
||||
alter_text: false
|
||||
@ -430,7 +431,7 @@ display:
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
type: boolean
|
||||
type: list_default
|
||||
type_custom_true: ''
|
||||
type_custom_false: ''
|
||||
not: false
|
||||
@ -607,7 +608,9 @@ display:
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
click_sort_column: target_id
|
||||
type: simplenews_subscription_status
|
||||
type: entity_reference_label
|
||||
settings:
|
||||
link: false
|
||||
group_column: ''
|
||||
group_columns: { }
|
||||
group_rows: true
|
||||
@ -843,14 +846,15 @@ display:
|
||||
admin_label: ''
|
||||
entity_type: simplenews_subscriber
|
||||
entity_field: status
|
||||
plugin_id: boolean
|
||||
operator: '='
|
||||
value: '1'
|
||||
plugin_id: in_operator
|
||||
operator: in
|
||||
value:
|
||||
1: '1'
|
||||
group: 1
|
||||
exposed: true
|
||||
expose:
|
||||
operator_id: ''
|
||||
label: Active
|
||||
label: Status
|
||||
description: ''
|
||||
use_operator: false
|
||||
operator: status_op
|
||||
@ -929,48 +933,6 @@ display:
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
reduce_duplicates: false
|
||||
subscriptions_status:
|
||||
id: subscriptions_status
|
||||
table: simplenews_subscriber__subscriptions
|
||||
field: subscriptions_status
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
plugin_id: in_operator
|
||||
operator: in
|
||||
value:
|
||||
1: '1'
|
||||
group: 1
|
||||
exposed: true
|
||||
expose:
|
||||
operator_id: subscriptions_status_op
|
||||
label: Status
|
||||
description: ''
|
||||
use_operator: false
|
||||
operator: subscriptions_status_op
|
||||
operator_limit_selection: false
|
||||
operator_list: { }
|
||||
identifier: subscriptions_status
|
||||
required: false
|
||||
remember: false
|
||||
multiple: false
|
||||
remember_roles:
|
||||
authenticated: authenticated
|
||||
anonymous: '0'
|
||||
administrator: '0'
|
||||
reduce: false
|
||||
is_grouped: false
|
||||
group_info:
|
||||
label: ''
|
||||
description: ''
|
||||
identifier: ''
|
||||
optional: true
|
||||
widget: select
|
||||
multiple: false
|
||||
remember: false
|
||||
default_group: All
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
filter_groups:
|
||||
operator: AND
|
||||
groups:
|
||||
@ -1185,8 +1147,8 @@ display:
|
||||
admin_label: ''
|
||||
entity_type: simplenews_subscriber
|
||||
entity_field: status
|
||||
plugin_id: boolean
|
||||
label: Active
|
||||
plugin_id: field
|
||||
label: Status
|
||||
exclude: false
|
||||
alter:
|
||||
alter_text: false
|
||||
@ -1227,7 +1189,7 @@ display:
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
type: boolean
|
||||
type: list_default
|
||||
type_custom_true: ''
|
||||
type_custom_false: ''
|
||||
not: false
|
||||
@ -1351,7 +1313,9 @@ display:
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
click_sort_column: target_id
|
||||
type: simplenews_subscription_status
|
||||
type: entity_reference_label
|
||||
settings:
|
||||
link: false
|
||||
group_column: ''
|
||||
group_columns: { }
|
||||
group_rows: true
|
||||
@ -1362,49 +1326,7 @@ display:
|
||||
multi_type: ul
|
||||
separator: ', '
|
||||
field_api_classes: false
|
||||
filters:
|
||||
subscriptions_status:
|
||||
id: subscriptions_status
|
||||
table: simplenews_subscriber__subscriptions
|
||||
field: subscriptions_status
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
entity_type: simplenews_subscriber
|
||||
entity_field: subscriptions
|
||||
plugin_id: in_operator
|
||||
operator: in
|
||||
value:
|
||||
1: '1'
|
||||
group: 1
|
||||
exposed: false
|
||||
expose:
|
||||
operator_id: ''
|
||||
label: ''
|
||||
description: ''
|
||||
use_operator: false
|
||||
operator: ''
|
||||
operator_limit_selection: false
|
||||
operator_list: { }
|
||||
identifier: ''
|
||||
required: false
|
||||
remember: false
|
||||
multiple: false
|
||||
remember_roles:
|
||||
authenticated: authenticated
|
||||
reduce: false
|
||||
is_grouped: false
|
||||
group_info:
|
||||
label: ''
|
||||
description: ''
|
||||
identifier: ''
|
||||
optional: true
|
||||
widget: select
|
||||
multiple: false
|
||||
remember: false
|
||||
default_group: All
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
filters: { }
|
||||
filter_groups:
|
||||
operator: AND
|
||||
groups:
|
||||
@ -1510,6 +1432,7 @@ display:
|
||||
batch: true
|
||||
batch_size: 10
|
||||
form_step: true
|
||||
ajax_loader: false
|
||||
buttons: false
|
||||
action_title: Action
|
||||
clear_on_exposed: true
|
||||
@ -1875,8 +1798,8 @@ display:
|
||||
admin_label: ''
|
||||
entity_type: simplenews_subscriber
|
||||
entity_field: status
|
||||
plugin_id: boolean
|
||||
label: Active
|
||||
plugin_id: field
|
||||
label: Status
|
||||
exclude: false
|
||||
alter:
|
||||
alter_text: false
|
||||
@ -1917,7 +1840,7 @@ display:
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
type: boolean
|
||||
type: list_default
|
||||
type_custom_true: ''
|
||||
type_custom_false: ''
|
||||
not: false
|
||||
@ -2094,7 +2017,9 @@ display:
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
click_sort_column: target_id
|
||||
type: simplenews_subscription_status
|
||||
type: entity_reference_label
|
||||
settings:
|
||||
link: false
|
||||
group_column: ''
|
||||
group_columns: { }
|
||||
group_rows: true
|
||||
|
712
config/sync/views.view.watchdog.yml
Normal file
712
config/sync/views.view.watchdog.yml
Normal file
@ -0,0 +1,712 @@
|
||||
uuid: f025a564-0632-48b7-87f1-5c849cd67568
|
||||
langcode: en
|
||||
status: true
|
||||
dependencies:
|
||||
module:
|
||||
- dblog
|
||||
- user
|
||||
_core:
|
||||
default_config_hash: j0txIxY4nkJT_dscmXckM-1vanygDkJAeHPawZKfyH0
|
||||
id: watchdog
|
||||
label: Watchdog
|
||||
module: views
|
||||
description: 'Recent log messages'
|
||||
tag: ''
|
||||
base_table: watchdog
|
||||
base_field: wid
|
||||
display:
|
||||
default:
|
||||
id: default
|
||||
display_title: Default
|
||||
display_plugin: default
|
||||
position: 0
|
||||
display_options:
|
||||
title: 'Recent log messages'
|
||||
fields:
|
||||
nothing:
|
||||
id: nothing
|
||||
table: views
|
||||
field: nothing
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: Icon
|
||||
plugin_id: custom
|
||||
label: ''
|
||||
exclude: false
|
||||
alter:
|
||||
alter_text: true
|
||||
text: ''
|
||||
make_link: false
|
||||
path: ''
|
||||
absolute: false
|
||||
external: false
|
||||
replace_spaces: false
|
||||
path_case: none
|
||||
trim_whitespace: false
|
||||
alt: ''
|
||||
rel: ''
|
||||
link_class: ''
|
||||
prefix: ''
|
||||
suffix: ''
|
||||
target: ''
|
||||
nl2br: false
|
||||
max_length: 0
|
||||
word_boundary: true
|
||||
ellipsis: true
|
||||
more_link: false
|
||||
more_link_text: ''
|
||||
more_link_path: ''
|
||||
strip_tags: false
|
||||
trim: false
|
||||
preserve_tags: ''
|
||||
html: false
|
||||
element_type: ''
|
||||
element_class: icon
|
||||
element_label_type: ''
|
||||
element_label_class: ''
|
||||
element_label_colon: false
|
||||
element_wrapper_type: ''
|
||||
element_wrapper_class: ''
|
||||
element_default_classes: false
|
||||
empty: ''
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: false
|
||||
wid:
|
||||
id: wid
|
||||
table: watchdog
|
||||
field: wid
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
plugin_id: standard
|
||||
label: WID
|
||||
exclude: true
|
||||
alter:
|
||||
alter_text: false
|
||||
text: ''
|
||||
make_link: false
|
||||
path: ''
|
||||
absolute: false
|
||||
external: false
|
||||
replace_spaces: false
|
||||
path_case: none
|
||||
trim_whitespace: false
|
||||
alt: ''
|
||||
rel: ''
|
||||
link_class: ''
|
||||
prefix: ''
|
||||
suffix: ''
|
||||
target: ''
|
||||
nl2br: false
|
||||
max_length: 0
|
||||
word_boundary: true
|
||||
ellipsis: true
|
||||
more_link: false
|
||||
more_link_text: ''
|
||||
more_link_path: ''
|
||||
strip_tags: false
|
||||
trim: false
|
||||
preserve_tags: ''
|
||||
html: false
|
||||
element_type: ''
|
||||
element_class: ''
|
||||
element_label_type: ''
|
||||
element_label_class: ''
|
||||
element_label_colon: true
|
||||
element_wrapper_type: ''
|
||||
element_wrapper_class: ''
|
||||
element_default_classes: true
|
||||
empty: ''
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
severity:
|
||||
id: severity
|
||||
table: watchdog
|
||||
field: severity
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
plugin_id: machine_name
|
||||
label: Severity
|
||||
exclude: true
|
||||
alter:
|
||||
alter_text: false
|
||||
text: ''
|
||||
make_link: false
|
||||
path: ''
|
||||
absolute: false
|
||||
external: false
|
||||
replace_spaces: false
|
||||
path_case: none
|
||||
trim_whitespace: false
|
||||
alt: ''
|
||||
rel: ''
|
||||
link_class: ''
|
||||
prefix: ''
|
||||
suffix: ''
|
||||
target: ''
|
||||
nl2br: false
|
||||
max_length: 0
|
||||
word_boundary: true
|
||||
ellipsis: true
|
||||
more_link: false
|
||||
more_link_text: ''
|
||||
more_link_path: ''
|
||||
strip_tags: false
|
||||
trim: false
|
||||
preserve_tags: ''
|
||||
html: false
|
||||
element_type: ''
|
||||
element_class: ''
|
||||
element_label_type: ''
|
||||
element_label_class: ''
|
||||
element_label_colon: true
|
||||
element_wrapper_type: ''
|
||||
element_wrapper_class: ''
|
||||
element_default_classes: true
|
||||
empty: ''
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
machine_name: false
|
||||
type:
|
||||
id: type
|
||||
table: watchdog
|
||||
field: type
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
plugin_id: standard
|
||||
label: Type
|
||||
exclude: false
|
||||
alter:
|
||||
alter_text: false
|
||||
text: ''
|
||||
make_link: false
|
||||
path: ''
|
||||
absolute: false
|
||||
external: false
|
||||
replace_spaces: false
|
||||
path_case: none
|
||||
trim_whitespace: false
|
||||
alt: ''
|
||||
rel: ''
|
||||
link_class: ''
|
||||
prefix: ''
|
||||
suffix: ''
|
||||
target: ''
|
||||
nl2br: false
|
||||
max_length: 0
|
||||
word_boundary: true
|
||||
ellipsis: true
|
||||
more_link: false
|
||||
more_link_text: ''
|
||||
more_link_path: ''
|
||||
strip_tags: false
|
||||
trim: false
|
||||
preserve_tags: ''
|
||||
html: false
|
||||
element_type: ''
|
||||
element_class: ''
|
||||
element_label_type: ''
|
||||
element_label_class: ''
|
||||
element_label_colon: true
|
||||
element_wrapper_type: ''
|
||||
element_wrapper_class: ''
|
||||
element_default_classes: true
|
||||
empty: ''
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
timestamp:
|
||||
id: timestamp
|
||||
table: watchdog
|
||||
field: timestamp
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
plugin_id: date
|
||||
label: Date
|
||||
exclude: false
|
||||
alter:
|
||||
alter_text: false
|
||||
text: ''
|
||||
make_link: false
|
||||
path: ''
|
||||
absolute: false
|
||||
external: false
|
||||
replace_spaces: false
|
||||
path_case: none
|
||||
trim_whitespace: false
|
||||
alt: ''
|
||||
rel: ''
|
||||
link_class: ''
|
||||
prefix: ''
|
||||
suffix: ''
|
||||
target: ''
|
||||
nl2br: false
|
||||
max_length: 0
|
||||
word_boundary: true
|
||||
ellipsis: true
|
||||
more_link: false
|
||||
more_link_text: ''
|
||||
more_link_path: ''
|
||||
strip_tags: false
|
||||
trim: false
|
||||
preserve_tags: ''
|
||||
html: false
|
||||
element_type: ''
|
||||
element_class: ''
|
||||
element_label_type: ''
|
||||
element_label_class: ''
|
||||
element_label_colon: true
|
||||
element_wrapper_type: ''
|
||||
element_wrapper_class: ''
|
||||
element_default_classes: true
|
||||
empty: ''
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
date_format: short
|
||||
custom_date_format: ''
|
||||
timezone: ''
|
||||
message:
|
||||
id: message
|
||||
table: watchdog
|
||||
field: message
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
plugin_id: dblog_message
|
||||
label: Message
|
||||
exclude: false
|
||||
alter:
|
||||
alter_text: false
|
||||
text: ''
|
||||
make_link: true
|
||||
path: 'admin/reports/dblog/event/{{ wid }}'
|
||||
absolute: false
|
||||
external: false
|
||||
replace_spaces: false
|
||||
path_case: none
|
||||
trim_whitespace: false
|
||||
alt: '{{ message }}'
|
||||
rel: ''
|
||||
link_class: ''
|
||||
prefix: ''
|
||||
suffix: ''
|
||||
target: ''
|
||||
nl2br: false
|
||||
max_length: 56
|
||||
word_boundary: true
|
||||
ellipsis: true
|
||||
more_link: false
|
||||
more_link_text: ''
|
||||
more_link_path: ''
|
||||
strip_tags: true
|
||||
trim: true
|
||||
preserve_tags: ''
|
||||
html: true
|
||||
element_type: ''
|
||||
element_class: ''
|
||||
element_label_type: ''
|
||||
element_label_class: ''
|
||||
element_label_colon: true
|
||||
element_wrapper_type: ''
|
||||
element_wrapper_class: ''
|
||||
element_default_classes: true
|
||||
empty: ''
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
replace_variables: true
|
||||
name:
|
||||
id: name
|
||||
table: users_field_data
|
||||
field: name
|
||||
relationship: uid
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
entity_type: user
|
||||
entity_field: name
|
||||
plugin_id: field
|
||||
label: User
|
||||
exclude: false
|
||||
alter:
|
||||
alter_text: false
|
||||
text: ''
|
||||
make_link: false
|
||||
path: ''
|
||||
absolute: false
|
||||
external: false
|
||||
replace_spaces: false
|
||||
path_case: none
|
||||
trim_whitespace: false
|
||||
alt: ''
|
||||
rel: ''
|
||||
link_class: ''
|
||||
prefix: ''
|
||||
suffix: ''
|
||||
target: ''
|
||||
nl2br: false
|
||||
max_length: 0
|
||||
word_boundary: true
|
||||
ellipsis: true
|
||||
more_link: false
|
||||
more_link_text: ''
|
||||
more_link_path: ''
|
||||
strip_tags: false
|
||||
trim: false
|
||||
preserve_tags: ''
|
||||
html: false
|
||||
element_type: ''
|
||||
element_class: ''
|
||||
element_label_type: ''
|
||||
element_label_class: ''
|
||||
element_label_colon: true
|
||||
element_wrapper_type: ''
|
||||
element_wrapper_class: ''
|
||||
element_default_classes: true
|
||||
empty: ''
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
click_sort_column: value
|
||||
type: user_name
|
||||
settings:
|
||||
link_to_entity: true
|
||||
group_column: value
|
||||
group_columns: { }
|
||||
group_rows: true
|
||||
delta_limit: 0
|
||||
delta_offset: 0
|
||||
delta_reversed: false
|
||||
delta_first_last: false
|
||||
multi_type: separator
|
||||
separator: ', '
|
||||
field_api_classes: false
|
||||
link:
|
||||
id: link
|
||||
table: watchdog
|
||||
field: link
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
plugin_id: dblog_operations
|
||||
label: Operations
|
||||
exclude: false
|
||||
alter:
|
||||
alter_text: false
|
||||
text: ''
|
||||
make_link: false
|
||||
path: ''
|
||||
absolute: false
|
||||
external: false
|
||||
replace_spaces: false
|
||||
path_case: none
|
||||
trim_whitespace: false
|
||||
alt: ''
|
||||
rel: ''
|
||||
link_class: ''
|
||||
prefix: ''
|
||||
suffix: ''
|
||||
target: ''
|
||||
nl2br: false
|
||||
max_length: 0
|
||||
word_boundary: true
|
||||
ellipsis: true
|
||||
more_link: false
|
||||
more_link_text: ''
|
||||
more_link_path: ''
|
||||
strip_tags: false
|
||||
trim: false
|
||||
preserve_tags: ''
|
||||
html: false
|
||||
element_type: ''
|
||||
element_class: ''
|
||||
element_label_type: ''
|
||||
element_label_class: ''
|
||||
element_label_colon: true
|
||||
element_wrapper_type: ''
|
||||
element_wrapper_class: ''
|
||||
element_default_classes: true
|
||||
empty: ''
|
||||
hide_empty: false
|
||||
empty_zero: false
|
||||
hide_alter_empty: true
|
||||
pager:
|
||||
type: mini
|
||||
options:
|
||||
offset: 0
|
||||
items_per_page: 50
|
||||
total_pages: null
|
||||
id: 0
|
||||
tags:
|
||||
next: ››
|
||||
previous: ‹‹
|
||||
expose:
|
||||
items_per_page: false
|
||||
items_per_page_label: 'Items per page'
|
||||
items_per_page_options: '5, 10, 25, 50'
|
||||
items_per_page_options_all: false
|
||||
items_per_page_options_all_label: '- All -'
|
||||
offset: false
|
||||
offset_label: Offset
|
||||
exposed_form:
|
||||
type: basic
|
||||
options:
|
||||
submit_button: Filter
|
||||
reset_button: true
|
||||
reset_button_label: Reset
|
||||
exposed_sorts_label: 'Sort by'
|
||||
expose_sort_order: false
|
||||
sort_asc_label: Asc
|
||||
sort_desc_label: Desc
|
||||
access:
|
||||
type: perm
|
||||
options:
|
||||
perm: 'access site reports'
|
||||
cache:
|
||||
type: none
|
||||
options: { }
|
||||
empty:
|
||||
area:
|
||||
id: area_text_custom
|
||||
table: views
|
||||
field: area_text_custom
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: 'No log messages available.'
|
||||
plugin_id: text_custom
|
||||
empty: true
|
||||
content: 'No log messages available.'
|
||||
tokenize: false
|
||||
sorts:
|
||||
wid:
|
||||
id: wid
|
||||
table: watchdog
|
||||
field: wid
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
plugin_id: standard
|
||||
order: DESC
|
||||
expose:
|
||||
label: ''
|
||||
field_identifier: wid
|
||||
exposed: false
|
||||
arguments: { }
|
||||
filters:
|
||||
type:
|
||||
id: type
|
||||
table: watchdog
|
||||
field: type
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
plugin_id: dblog_types
|
||||
operator: in
|
||||
value: { }
|
||||
group: 1
|
||||
exposed: true
|
||||
expose:
|
||||
operator_id: type_op
|
||||
label: Type
|
||||
description: ''
|
||||
use_operator: false
|
||||
operator: type_op
|
||||
operator_limit_selection: false
|
||||
operator_list: { }
|
||||
identifier: type
|
||||
required: false
|
||||
remember: false
|
||||
multiple: true
|
||||
remember_roles:
|
||||
authenticated: authenticated
|
||||
anonymous: '0'
|
||||
administrator: '0'
|
||||
reduce: false
|
||||
is_grouped: false
|
||||
group_info:
|
||||
label: ''
|
||||
description: ''
|
||||
identifier: ''
|
||||
optional: true
|
||||
widget: select
|
||||
multiple: false
|
||||
remember: false
|
||||
default_group: All
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
severity:
|
||||
id: severity
|
||||
table: watchdog
|
||||
field: severity
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: ''
|
||||
plugin_id: in_operator
|
||||
operator: in
|
||||
value: { }
|
||||
group: 1
|
||||
exposed: true
|
||||
expose:
|
||||
operator_id: severity_op
|
||||
label: Severity
|
||||
description: ''
|
||||
use_operator: false
|
||||
operator: severity_op
|
||||
operator_limit_selection: false
|
||||
operator_list: { }
|
||||
identifier: severity
|
||||
required: false
|
||||
remember: false
|
||||
multiple: true
|
||||
remember_roles:
|
||||
authenticated: authenticated
|
||||
anonymous: '0'
|
||||
administrator: '0'
|
||||
reduce: false
|
||||
is_grouped: false
|
||||
group_info:
|
||||
label: ''
|
||||
description: ''
|
||||
identifier: ''
|
||||
optional: true
|
||||
widget: select
|
||||
multiple: false
|
||||
remember: false
|
||||
default_group: All
|
||||
default_group_multiple: { }
|
||||
group_items: { }
|
||||
filter_groups:
|
||||
operator: AND
|
||||
groups:
|
||||
1: AND
|
||||
style:
|
||||
type: table
|
||||
options:
|
||||
grouping: { }
|
||||
row_class: '{{ type }} {{ severity }}'
|
||||
default_row_class: true
|
||||
columns:
|
||||
nothing: nothing
|
||||
wid: wid
|
||||
severity: severity
|
||||
type: type
|
||||
timestamp: timestamp
|
||||
message: message
|
||||
name: name
|
||||
link: link
|
||||
default: wid
|
||||
info:
|
||||
nothing:
|
||||
align: ''
|
||||
separator: ''
|
||||
empty_column: false
|
||||
responsive: priority-medium
|
||||
wid:
|
||||
sortable: false
|
||||
default_sort_order: desc
|
||||
align: ''
|
||||
separator: ''
|
||||
empty_column: false
|
||||
responsive: priority-low
|
||||
severity:
|
||||
sortable: false
|
||||
default_sort_order: asc
|
||||
align: ''
|
||||
separator: ''
|
||||
empty_column: false
|
||||
responsive: priority-low
|
||||
type:
|
||||
sortable: true
|
||||
default_sort_order: asc
|
||||
align: ''
|
||||
separator: ''
|
||||
empty_column: false
|
||||
responsive: priority-medium
|
||||
timestamp:
|
||||
sortable: true
|
||||
default_sort_order: desc
|
||||
align: ''
|
||||
separator: ''
|
||||
empty_column: false
|
||||
responsive: priority-low
|
||||
message:
|
||||
sortable: false
|
||||
default_sort_order: asc
|
||||
align: ''
|
||||
separator: ''
|
||||
empty_column: false
|
||||
responsive: ''
|
||||
name:
|
||||
sortable: true
|
||||
default_sort_order: asc
|
||||
align: ''
|
||||
separator: ''
|
||||
empty_column: false
|
||||
responsive: priority-medium
|
||||
link:
|
||||
align: ''
|
||||
separator: ''
|
||||
empty_column: false
|
||||
responsive: priority-low
|
||||
override: true
|
||||
sticky: false
|
||||
summary: ''
|
||||
empty_table: false
|
||||
caption: ''
|
||||
description: ''
|
||||
row:
|
||||
type: fields
|
||||
query:
|
||||
type: views_query
|
||||
options:
|
||||
query_comment: ''
|
||||
disable_sql_rewrite: false
|
||||
distinct: false
|
||||
replica: false
|
||||
query_tags: { }
|
||||
relationships:
|
||||
uid:
|
||||
id: uid
|
||||
table: watchdog
|
||||
field: uid
|
||||
relationship: none
|
||||
group_type: group
|
||||
admin_label: User
|
||||
plugin_id: standard
|
||||
required: false
|
||||
css_class: admin-dblog
|
||||
header: { }
|
||||
footer: { }
|
||||
display_extenders: { }
|
||||
cache_metadata:
|
||||
max-age: -1
|
||||
contexts:
|
||||
- 'languages:language_content'
|
||||
- 'languages:language_interface'
|
||||
- url
|
||||
- url.query_args
|
||||
- user.permissions
|
||||
tags: { }
|
||||
page:
|
||||
id: page
|
||||
display_title: Page
|
||||
display_plugin: page
|
||||
position: 1
|
||||
display_options:
|
||||
display_extenders: { }
|
||||
path: admin/reports/dblog
|
||||
cache_metadata:
|
||||
max-age: -1
|
||||
contexts:
|
||||
- 'languages:language_content'
|
||||
- 'languages:language_interface'
|
||||
- url
|
||||
- url.query_args
|
||||
- user.permissions
|
||||
tags: { }
|
@ -3,6 +3,8 @@ _core:
|
||||
langcode: en
|
||||
settings:
|
||||
default_status: open
|
||||
default_categories: { }
|
||||
default_page: true
|
||||
default_page_base_path: /form
|
||||
default_ajax: false
|
||||
default_ajax_progress_type: throbber
|
||||
@ -45,6 +47,7 @@ settings:
|
||||
default_draft_pending_multiple_message: 'You have pending drafts for this webform. <a href="#">View your pending drafts</a>.'
|
||||
default_confirmation_message: 'New submission added to [webform:title].'
|
||||
default_confirmation_back_label: 'Back to form'
|
||||
default_confirmation_noindex: true
|
||||
default_limit_total_message: 'No more submissions are permitted.'
|
||||
default_limit_user_message: 'No more submissions are permitted.'
|
||||
default_submission_label: '[webform_submission:submitted-to]: Submission #[webform_submission:serial]'
|
||||
@ -153,15 +156,13 @@ element:
|
||||
default_empty_option: true
|
||||
default_empty_option_required: ''
|
||||
default_empty_option_optional: ''
|
||||
default_algolia_places_app_id: ''
|
||||
default_algolia_places_api_key: ''
|
||||
excluded_elements:
|
||||
password: password
|
||||
password_confirm: password_confirm
|
||||
html_editor:
|
||||
disabled: false
|
||||
element_format: ''
|
||||
mail_format: ''
|
||||
element_format: webform_default
|
||||
mail_format: webform_default
|
||||
tidy: true
|
||||
make_unused_managed_files_temporary: true
|
||||
file:
|
||||
|
@ -16,7 +16,7 @@ archive: false
|
||||
id: contact
|
||||
title: Contact
|
||||
description: 'Basic email contact webform.'
|
||||
category: ''
|
||||
categories: { }
|
||||
elements: |
|
||||
name:
|
||||
'#title': 'Your Name'
|
||||
@ -129,6 +129,8 @@ settings:
|
||||
wizard_toggle: false
|
||||
wizard_toggle_show_label: ''
|
||||
wizard_toggle_hide_label: ''
|
||||
wizard_page_type: container
|
||||
wizard_page_title_tag: h2
|
||||
preview: 0
|
||||
preview_label: ''
|
||||
preview_title: ''
|
||||
|
@ -16,7 +16,7 @@ archive: false
|
||||
id: multi_joueur
|
||||
title: Multijoueur
|
||||
description: ''
|
||||
category: ''
|
||||
categories: { }
|
||||
elements: |-
|
||||
address:
|
||||
'#type': address
|
||||
@ -166,6 +166,8 @@ settings:
|
||||
wizard_toggle: false
|
||||
wizard_toggle_show_label: ''
|
||||
wizard_toggle_hide_label: ''
|
||||
wizard_page_type: container
|
||||
wizard_page_title_tag: h2
|
||||
preview: 0
|
||||
preview_label: ''
|
||||
preview_title: ''
|
||||
|
@ -1,5 +1,15 @@
|
||||
commit 9c3d84fbb3e0e2a4ad99ef593b975cde7bc2547f
|
||||
Author: bach <bachir@figureslibres.io>
|
||||
Date: Mon Sep 19 15:41:32 2022 +0200
|
||||
|
||||
invalid translation language
|
||||
|
||||
bugfix
|
||||
|
||||
removed patch
|
||||
|
||||
diff --git a/src/Plugin/GraphQL/DataProducer/Entity/EntityLoad.php b/src/Plugin/GraphQL/DataProducer/Entity/EntityLoad.php
|
||||
index 867a28c..386b2b3 100644
|
||||
index 408af0af..b6f9d8d8 100644
|
||||
--- a/src/Plugin/GraphQL/DataProducer/Entity/EntityLoad.php
|
||||
+++ b/src/Plugin/GraphQL/DataProducer/Entity/EntityLoad.php
|
||||
@@ -172,8 +172,10 @@ class EntityLoad extends DataProducerPluginBase implements ContainerFactoryPlugi
|
||||
@ -16,7 +26,7 @@ index 867a28c..386b2b3 100644
|
||||
|
||||
// Check if the passed user (or current user if none is passed) has access
|
||||
diff --git a/src/Plugin/GraphQL/DataProducer/Entity/EntityLoadByUuid.php b/src/Plugin/GraphQL/DataProducer/Entity/EntityLoadByUuid.php
|
||||
index 10e2d40..e4e6ed0 100644
|
||||
index a400da19..4fb1d8d7 100644
|
||||
--- a/src/Plugin/GraphQL/DataProducer/Entity/EntityLoadByUuid.php
|
||||
+++ b/src/Plugin/GraphQL/DataProducer/Entity/EntityLoadByUuid.php
|
||||
@@ -165,8 +165,10 @@ class EntityLoadByUuid extends DataProducerPluginBase implements ContainerFactor
|
||||
@ -33,7 +43,7 @@ index 10e2d40..e4e6ed0 100644
|
||||
|
||||
// Check if the passed user (or current user if none is passed) has access
|
||||
diff --git a/src/Plugin/GraphQL/DataProducer/Entity/EntityLoadMultiple.php b/src/Plugin/GraphQL/DataProducer/Entity/EntityLoadMultiple.php
|
||||
index 2a0259c..27a19e5 100644
|
||||
index 2b456aad..92f2c898 100644
|
||||
--- a/src/Plugin/GraphQL/DataProducer/Entity/EntityLoadMultiple.php
|
||||
+++ b/src/Plugin/GraphQL/DataProducer/Entity/EntityLoadMultiple.php
|
||||
@@ -172,8 +172,10 @@ class EntityLoadMultiple extends DataProducerPluginBase implements ContainerFact
|
||||
@ -50,20 +60,20 @@ index 2a0259c..27a19e5 100644
|
||||
|
||||
if ($access) {
|
||||
diff --git a/src/Plugin/GraphQL/DataProducer/Entity/EntityTranslation.php b/src/Plugin/GraphQL/DataProducer/Entity/EntityTranslation.php
|
||||
index 633bdc2..3773a9b 100644
|
||||
index 1a30c65d..5d3f1268 100644
|
||||
--- a/src/Plugin/GraphQL/DataProducer/Entity/EntityTranslation.php
|
||||
+++ b/src/Plugin/GraphQL/DataProducer/Entity/EntityTranslation.php
|
||||
@@ -101,7 +101,7 @@ class EntityTranslation extends DataProducerPluginBase implements ContainerFacto
|
||||
@@ -103,7 +103,7 @@ class EntityTranslation extends DataProducerPluginBase implements ContainerFacto
|
||||
* @return \Drupal\Core\Entity\EntityInterface|null
|
||||
*/
|
||||
public function resolve(EntityInterface $entity, $language, ?bool $access, ?AccountInterface $accessUser, ?string $accessOperation) {
|
||||
public function resolve(EntityInterface $entity, $language, ?bool $access, ?AccountInterface $accessUser, ?string $accessOperation, FieldContext $context) {
|
||||
- if ($entity instanceof TranslatableInterface && $entity->isTranslatable()) {
|
||||
+ if ($entity instanceof TranslatableInterface && $entity->isTranslatable() && $entity->hasTranslation($language)) {
|
||||
$entity = $entity->getTranslation($language);
|
||||
$entity->addCacheContexts(["static:language:{$language}"]);
|
||||
// Check if the passed user (or current user if none is passed) has access
|
||||
diff --git a/src/Plugin/GraphQL/DataProducer/Routing/RouteEntity.php b/src/Plugin/GraphQL/DataProducer/Routing/RouteEntity.php
|
||||
index 10ea4e6..1eef22a 100644
|
||||
index e08c7bdd..46c64bbb 100644
|
||||
--- a/src/Plugin/GraphQL/DataProducer/Routing/RouteEntity.php
|
||||
+++ b/src/Plugin/GraphQL/DataProducer/Routing/RouteEntity.php
|
||||
@@ -126,8 +126,10 @@ class RouteEntity extends DataProducerPluginBase implements ContainerFactoryPlug
|
||||
@ -80,7 +90,7 @@ index 10ea4e6..1eef22a 100644
|
||||
|
||||
$access = $entity->access('view', NULL, TRUE);
|
||||
diff --git a/src/Plugin/GraphQL/DataProducer/Taxonomy/TaxonomyLoadTree.php b/src/Plugin/GraphQL/DataProducer/Taxonomy/TaxonomyLoadTree.php
|
||||
index 1bcd624..8b2caf2 100644
|
||||
index 3f2229fd..b0753acf 100644
|
||||
--- a/src/Plugin/GraphQL/DataProducer/Taxonomy/TaxonomyLoadTree.php
|
||||
+++ b/src/Plugin/GraphQL/DataProducer/Taxonomy/TaxonomyLoadTree.php
|
||||
@@ -175,8 +175,10 @@ class TaxonomyLoadTree extends DataProducerPluginBase implements ContainerFactor
|
||||
|
@ -1,7 +0,0 @@
|
||||
name: 'REST Config'
|
||||
type: module
|
||||
description: 'Get site configiration through rest api'
|
||||
core_version_requirement: ^8.8 || ^9.2
|
||||
package: 'Custom'
|
||||
dependencies:
|
||||
- rest
|
@ -1,24 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains rest_config.module.
|
||||
*/
|
||||
|
||||
use Drupal\Core\Routing\RouteMatchInterface;
|
||||
|
||||
/**
|
||||
* Implements hook_help().
|
||||
*/
|
||||
function rest_config_help($route_name, RouteMatchInterface $route_match) {
|
||||
switch ($route_name) {
|
||||
// Main module help for the rest_config module.
|
||||
case 'help.page.rest_config':
|
||||
$output = '';
|
||||
$output .= '<h3>' . t('About') . '</h3>';
|
||||
$output .= '<p>' . t('Get site configiration through rest api') . '</p>';
|
||||
return $output;
|
||||
|
||||
default:
|
||||
}
|
||||
}
|
@ -1,106 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Drupal\rest_config\Plugin\rest\resource;
|
||||
|
||||
use Drupal\Core\Session\AccountProxyInterface;
|
||||
use Drupal\rest\ModifiedResourceResponse;
|
||||
use Drupal\rest\Plugin\ResourceBase;
|
||||
use Drupal\rest\ResourceResponse;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
|
||||
|
||||
/**
|
||||
* Provides a resource to get configurations values.
|
||||
*
|
||||
* @RestResource(
|
||||
* id = "config_rest_resource",
|
||||
* label = @Translation("Config rest resource"),
|
||||
* uri_paths = {
|
||||
* "canonical" = "/config/{file}/{key}"
|
||||
* }
|
||||
* )
|
||||
*/
|
||||
class ConfigRestResource extends ResourceBase {
|
||||
|
||||
/**
|
||||
* A current user instance.
|
||||
*
|
||||
* @var \Drupal\Core\Session\AccountProxyInterface
|
||||
*/
|
||||
protected $currentUser;
|
||||
|
||||
/**
|
||||
* Constructs a new ConfigRestResource object.
|
||||
*
|
||||
* @param array $configuration
|
||||
* A configuration array containing information about the plugin instance.
|
||||
* @param string $plugin_id
|
||||
* The plugin_id for the plugin instance.
|
||||
* @param mixed $plugin_definition
|
||||
* The plugin implementation definition.
|
||||
* @param array $serializer_formats
|
||||
* The available serialization formats.
|
||||
* @param \Psr\Log\LoggerInterface $logger
|
||||
* A logger instance.
|
||||
* @param \Drupal\Core\Session\AccountProxyInterface $current_user
|
||||
* A current user instance.
|
||||
*/
|
||||
public function __construct(
|
||||
array $configuration,
|
||||
$plugin_id,
|
||||
$plugin_definition,
|
||||
array $serializer_formats,
|
||||
LoggerInterface $logger,
|
||||
AccountProxyInterface $current_user) {
|
||||
parent::__construct($configuration, $plugin_id, $plugin_definition, $serializer_formats, $logger);
|
||||
|
||||
$this->currentUser = $current_user;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
|
||||
return new static(
|
||||
$configuration,
|
||||
$plugin_id,
|
||||
$plugin_definition,
|
||||
$container->getParameter('serializer.formats'),
|
||||
$container->get('logger.factory')->get('rest_config'),
|
||||
$container->get('current_user')
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Responds to GET requests.
|
||||
*
|
||||
* @return \Drupal\rest\ResourceResponse
|
||||
* The HTTP response object.
|
||||
*
|
||||
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
|
||||
* Throws exception expected.
|
||||
*/
|
||||
public function get($file = null, $key = null) {
|
||||
|
||||
// You must to implement the logic of your REST Resource here.
|
||||
// Use current user after pass authentication to validate access.
|
||||
if (!$this->currentUser->hasPermission('access content')) {
|
||||
throw new AccessDeniedHttpException();
|
||||
}
|
||||
|
||||
$data = [];
|
||||
if($file && $key){
|
||||
$config = \Drupal::config($file);
|
||||
if($config){
|
||||
$value = $config->get($key);
|
||||
$data[$key] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
$response = new ResourceResponse($data, 200);
|
||||
$response->addCacheableDependency($data);
|
||||
return $response;
|
||||
}
|
||||
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
Copied from https://www.drupal.org/sandbox/onkeltem/2828817 and added the patch from https://www.drupal.org/project/2828817/issues/2919993
|
||||
|
||||
# About
|
||||
|
||||
On Drupal 7 we could disable hooks while running migrations:
|
||||
|
||||
https://www.drupal.org/node/2136601
|
||||
|
||||
This module adds a similar feature. You can disable hooks
|
||||
in settings.php or by editing configuratoin object `migrate_booster.settings`.
|
||||
|
||||
There are two ways to disable hooks:
|
||||
|
||||
1) Disable specific hooks and modules:
|
||||
|
||||
```
|
||||
$config['migrate_booster.settings']['hooks'] = [
|
||||
# Entity insert
|
||||
'entity_insert' => [
|
||||
'workbench_moderation',
|
||||
'pathauto',
|
||||
'xmlsitemap',
|
||||
],
|
||||
# Entity presave
|
||||
'entity_presave' => [
|
||||
'xmlsitemap',
|
||||
],
|
||||
# Entity predelete
|
||||
'entity_predelete' => [
|
||||
'flag',
|
||||
],
|
||||
];
|
||||
```
|
||||
|
||||
2) Disable all hooks of specific modules:
|
||||
|
||||
```
|
||||
$config['migrate_booster.settings']['modules'] = [
|
||||
'workbench_moderation',
|
||||
'pathauto',
|
||||
'xmlsitemap',
|
||||
];
|
||||
```
|
@ -1,3 +0,0 @@
|
||||
commands:
|
||||
- migrate:import
|
||||
- migrate:rollback
|
@ -1,6 +0,0 @@
|
||||
services:
|
||||
migrate_booster.commands:
|
||||
class: \Drupal\migrate_booster\Commands\MigrateBoosterCommands
|
||||
arguments: ['@plugin.manager.migration', '@date.formatter', '@entity_type.manager', '@keyvalue']
|
||||
tags:
|
||||
- { name: drush.command }
|
@ -1,30 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Drupal\migrate_booster\MigrateBooster;
|
||||
|
||||
/**
|
||||
* Implements hook_drush_init().
|
||||
*/
|
||||
function migrate_booster_drush_init() {
|
||||
// Skip when bootstrap level is low (e.g. drush cr)
|
||||
if (!\Drupal::hasContainer()) {
|
||||
return;
|
||||
}
|
||||
MigrateBooster::bootDrush();
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_drush_command().
|
||||
*/
|
||||
function migrate_booster_drush_command() {
|
||||
$items['migrate-booster-reset'] = [
|
||||
'description' => 'Resets migrate booster and implementation cache.',
|
||||
'aliases' => ['mbr'],
|
||||
'drupal dependencies' => ['migrate_booster'],
|
||||
];
|
||||
return $items;
|
||||
}
|
||||
|
||||
function drush_migrate_booster_reset() {
|
||||
MigrateBooster::disable();
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
name: Migrate booster
|
||||
type: module
|
||||
description: Hooks disabler
|
||||
core_version_requirement: ^8.8 || ^9.2
|
||||
package: Migration
|
||||
dependencies:
|
||||
- migrate
|
@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Drupal\migrate_booster\MigrateBooster;
|
||||
|
||||
/** @noinspection PhpInconsistentReturnPointsInspection */
|
||||
|
||||
/**
|
||||
* Implements hook_module_implements_alter().
|
||||
* @param $implementations
|
||||
* @param $hook
|
||||
* @return null
|
||||
*/
|
||||
function migrate_booster_module_implements_alter(&$implementations, $hook) {
|
||||
MigrateBooster::alter($implementations, $hook);
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
services:
|
||||
migrate_booster.hooks_enabler_subscriber:
|
||||
class: Drupal\migrate_booster\HooksEnablerSubscriber
|
||||
tags:
|
||||
- { name: 'event_subscriber' }
|
@ -1,10 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Drupal\migrate_booster\MigrateBooster;
|
||||
use Symfony\Component\Console\Event\ConsoleCommandEvent;
|
||||
use Symfony\Component\Console\ConsoleEvents;
|
||||
|
||||
/** @noinspection PhpUnusedParameterInspection */
|
||||
$GLOBALS['dispatcher']->addListener(ConsoleEvents::COMMAND, function (ConsoleCommandEvent $event) {
|
||||
MigrateBooster::bootDrupal();
|
||||
});
|
@ -1,61 +0,0 @@
|
||||
<?php
|
||||
namespace Drupal\migrate_booster\Commands;
|
||||
|
||||
use Consolidation\AnnotatedCommand\AnnotationData;
|
||||
use Drupal\migrate_booster\MigrateBooster;
|
||||
use Drush\Commands\DrushCommands;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
|
||||
/**
|
||||
*
|
||||
* In addition to a commandfile like this one, you need a drush.services.yml
|
||||
* in root of your module.
|
||||
*
|
||||
* See these files for an example of injecting Drupal services:
|
||||
* - http://cgit.drupalcode.org/devel/tree/src/Commands/DevelCommands.php
|
||||
* - http://cgit.drupalcode.org/devel/tree/drush.services.yml
|
||||
*/
|
||||
class MigrateBoosterCommands extends DrushCommands {
|
||||
|
||||
/**
|
||||
* Resets migrate booster and implementation cache.
|
||||
*
|
||||
* @command migrate:booster:reset
|
||||
*
|
||||
* @validate-module-enabled migrate_booster
|
||||
* @aliases mbr,migrate-booster-reset
|
||||
*/
|
||||
public function boosterReset()
|
||||
{
|
||||
// See bottom of https://weitzman.github.io/blog/port-to-drush9 for details on what to change when porting a
|
||||
// legacy command.
|
||||
MigrateBooster::reset();
|
||||
}
|
||||
|
||||
/**
|
||||
* Enables migrate booster and implementation cache.
|
||||
*
|
||||
* @command migrate:booster:enable
|
||||
*
|
||||
* @validate-module-enabled migrate_booster
|
||||
* @aliases mbe,migrate-booster-enable
|
||||
*/
|
||||
public function boosterEnable()
|
||||
{
|
||||
// See bottom of https://weitzman.github.io/blog/port-to-drush9 for details on what to change when porting a
|
||||
// legacy command.
|
||||
|
||||
MigrateBooster::enable();
|
||||
}
|
||||
|
||||
/**
|
||||
* @hook init *
|
||||
*/
|
||||
public function initCommand(InputInterface $input, AnnotationData $annotationData) {
|
||||
// Skip when bootstrap level is low (e.g. drush cr)
|
||||
if (!\Drupal::hasContainer()) {
|
||||
return;
|
||||
}
|
||||
MigrateBooster::bootDrush($input, $annotationData);
|
||||
}
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Drupal\migrate_booster;
|
||||
|
||||
use Symfony\Component\HttpKernel\KernelEvents;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
|
||||
/**
|
||||
* Provides a MyModuleSubscriber.
|
||||
*/
|
||||
class HooksEnablerSubscriber implements EventSubscriberInterface {
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
static function getSubscribedEvents() {
|
||||
$events[KernelEvents::REQUEST][] = array('ensureHooksEnabled', 20);
|
||||
return $events;
|
||||
}
|
||||
|
||||
/**
|
||||
* Triggers on 'kernel.request' event which occurs when Drupal
|
||||
* bootstraps (but not when Drush or Drupal console command runs).
|
||||
*/
|
||||
public function ensureHooksEnabled() {
|
||||
MigrateBooster::bootDrupal();
|
||||
}
|
||||
|
||||
}
|
@ -1,115 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Drupal\migrate_booster;
|
||||
|
||||
use Consolidation\AnnotatedCommand\AnnotationData;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
|
||||
class MigrateBooster {
|
||||
|
||||
protected static $alterActive;
|
||||
protected static $config;
|
||||
const CID = 'migrate_booster_enabled';
|
||||
|
||||
// Startup hooks
|
||||
|
||||
/**
|
||||
* Reacts on HOOK_drush_init().
|
||||
*
|
||||
* Enables/disables booster depending on a drush command invoked.
|
||||
*/
|
||||
public static function bootDrush(InputInterface $input, AnnotationData $annotationData) {
|
||||
if (in_array($annotationData['command'], static::getConfig('commands'))) {
|
||||
static::enable();
|
||||
}
|
||||
else {
|
||||
static::disable();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Disables booster on Drupal and Drupal console boots.
|
||||
*/
|
||||
public static function bootDrupal() {
|
||||
static::disable();
|
||||
}
|
||||
|
||||
/**
|
||||
* Enables booster.
|
||||
*
|
||||
* Resets implementation cache and sets $alterActive class variable.
|
||||
*
|
||||
*/
|
||||
public static function enable() {
|
||||
static::$alterActive = TRUE;
|
||||
static::reset();
|
||||
}
|
||||
|
||||
/**
|
||||
* Disables booster.
|
||||
*
|
||||
* Resets implementation cache.
|
||||
*/
|
||||
public static function disable() {
|
||||
static::reset();
|
||||
}
|
||||
|
||||
/**
|
||||
* Resets implementations cache.
|
||||
*/
|
||||
public static function reset() {
|
||||
$module_handler = \Drupal::moduleHandler();
|
||||
$module_handler->resetImplementations();
|
||||
}
|
||||
|
||||
/** @noinspection PhpInconsistentReturnPointsInspection */
|
||||
|
||||
/**
|
||||
* Implements hook_module_implementation_alter().
|
||||
*
|
||||
* Disables configured hooks.
|
||||
* @param $implementations
|
||||
* @param $hook
|
||||
* @return null
|
||||
*/
|
||||
public static function alter(&$implementations, $hook) {
|
||||
if (!static::$alterActive) {
|
||||
return NULL;
|
||||
}
|
||||
if (!$implementations) {
|
||||
return NULL;
|
||||
}
|
||||
$hooks = static::getConfig('hooks');
|
||||
$modules = static::getConfig('modules');
|
||||
$disabled = [];
|
||||
// Disable by hook + module
|
||||
if (array_key_exists($hook, $hooks)) {
|
||||
$disabled = array_intersect_key($implementations, array_flip($hooks[$hook]));
|
||||
}
|
||||
// Disable by module
|
||||
$disabled += array_intersect_key($implementations, array_flip($modules));
|
||||
$implementations = array_diff_key($implementations, $disabled);
|
||||
/** @noinspection PhpUnusedParameterInspection */
|
||||
array_walk($disabled, function ($el, $key) use ($hook) {
|
||||
error_log('DISABLED: ' . $key . '_' . $hook);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper functions
|
||||
*
|
||||
* @param $key
|
||||
* @return array
|
||||
*/
|
||||
protected static function getConfig($key) {
|
||||
if (!static::$config) {
|
||||
static::$config = \Drupal::config('migrate_booster.settings')->get();
|
||||
}
|
||||
if ($key && isset(static::$config[$key])) {
|
||||
return static::$config[$key];
|
||||
}
|
||||
|
||||
return [];
|
||||
}
|
||||
|
||||
}
|
@ -1 +1 @@
|
||||
Subproject commit c7e9155544663e3e498a9be0849fbb67f5049bb7
|
||||
Subproject commit 3a8a1dac5e52deb8f4059f7ae8af7d5d993d1d84
|
Loading…
x
Reference in New Issue
Block a user