From e530546402eb0a1a2ef456d0922654be0df727cd Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Fri, 26 Apr 2024 14:32:23 +0200 Subject: [PATCH 01/24] Updated for drupal 10 --- composer.json | 8 ++++---- config/optional/user.role.editor.yml | 2 -- os2web_hjemmeside.info.yml | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 9830002..0205338 100644 --- a/composer.json +++ b/composer.json @@ -6,14 +6,14 @@ ], "require": { "drupal/core": "*", - "drupal/metatag": "^1.13", + "drupal/metatag": "^2.0", "drupal/easy_breadcrumb": "^2.0", "drupal/extlink": "^1.3", - "drupal/editor_advanced_link": "^1.6", - "drupal/ckeditor_iframe": "^2.0", + "drupal/editor_advanced_link": "^1.6 | ^2.2", + "drupal/ckeditor_iframe": "^2.0 || ^3.0 || 3.0.0-alpha1", "drupal/linkit": "^5.0.0-beta10 || ^6.0", "drupal/pathauto": "^1.5", - "drupal/chosen": "^2.9.0", + "drupal/chosen": "^4.0", "drupal/textfield_counter": "*", "drupal/redirect": "*", "drupal/save_edit": "^1.3" diff --git a/config/optional/user.role.editor.yml b/config/optional/user.role.editor.yml index 7bec12b..9d81949 100644 --- a/config/optional/user.role.editor.yml +++ b/config/optional/user.role.editor.yml @@ -12,13 +12,11 @@ permissions: - 'access files overview' - 'access media overview' - 'access os2web_borgerdk content overview' - - 'access skyfish entity browser pages' - 'access toolbar' - 'add os2web spotbox entities' - 'administer menu' - 'administer menu_link_content display' - 'administer redirects' - - 'configure own skyfish' - 'create content translations' - 'create media' - 'create os2web_hearings_hearing_case content' diff --git a/os2web_hjemmeside.info.yml b/os2web_hjemmeside.info.yml index a6b99c3..dff0262 100644 --- a/os2web_hjemmeside.info.yml +++ b/os2web_hjemmeside.info.yml @@ -2,10 +2,10 @@ name: 'OS2Web Hjemmeside' type: module description: 'Main module that brings hjemmeside general configuration.' core: 8.x -core_version_requirement: ^8 || ^9 +core_version_requirement: ^8 || ^9 || ^10 package: 'OS2Web' dependencies: - - ckeditor + - ckeditor5 - easy_breadcrumb - extlink - editor_advanced_link From e37ef989cbca95354ef61a37234cab32114a4eb2 Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Mon, 29 Apr 2024 14:15:14 +0200 Subject: [PATCH 02/24] Update ckeditor --- config/optional/editor.editor.wysiwyg_tekst.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/optional/editor.editor.wysiwyg_tekst.yml b/config/optional/editor.editor.wysiwyg_tekst.yml index 11d1549..f8260f6 100644 --- a/config/optional/editor.editor.wysiwyg_tekst.yml +++ b/config/optional/editor.editor.wysiwyg_tekst.yml @@ -4,9 +4,9 @@ dependencies: config: - filter.format.wysiwyg_tekst module: - - ckeditor + - ckeditor5 format: wysiwyg_tekst -editor: ckeditor +editor: ckeditor5 settings: toolbar: rows: From 36dc3c396f4abcffbadac8c0f59e9aea9fdd575c Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Mon, 29 Apr 2024 14:45:54 +0200 Subject: [PATCH 03/24] Update ckeditor --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 0205338..2136cdf 100644 --- a/composer.json +++ b/composer.json @@ -9,9 +9,9 @@ "drupal/metatag": "^2.0", "drupal/easy_breadcrumb": "^2.0", "drupal/extlink": "^1.3", - "drupal/editor_advanced_link": "^1.6 | ^2.2", - "drupal/ckeditor_iframe": "^2.0 || ^3.0 || 3.0.0-alpha1", - "drupal/linkit": "^5.0.0-beta10 || ^6.0", + "drupal/editor_advanced_link": "^2.2", + "drupal/ckeditor_iframe": "^3.0@alpha1", + "drupal/linkit": "^6.0", "drupal/pathauto": "^1.5", "drupal/chosen": "^4.0", "drupal/textfield_counter": "*", @@ -20,4 +20,4 @@ }, "license": "EUPL-1.2", "minimum-stability": "dev" -} +} \ No newline at end of file From a79ff42f926cd1c6bae7c949cb70c6e0a3d25d28 Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Wed, 1 May 2024 15:08:35 +0200 Subject: [PATCH 04/24] Updated --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 2136cdf..520b4c4 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ "drupal/metatag": "^2.0", "drupal/easy_breadcrumb": "^2.0", "drupal/extlink": "^1.3", - "drupal/editor_advanced_link": "^2.2", + "drupal/editor_advanced_link": "^2.x-dev", "drupal/ckeditor_iframe": "^3.0@alpha1", "drupal/linkit": "^6.0", "drupal/pathauto": "^1.5", From 6cf6729651986031e4cce3138e9c26ea3598da3f Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Wed, 1 May 2024 15:20:07 +0200 Subject: [PATCH 05/24] Updated --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 520b4c4..9792697 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ "drupal/metatag": "^2.0", "drupal/easy_breadcrumb": "^2.0", "drupal/extlink": "^1.3", - "drupal/editor_advanced_link": "^2.x-dev", + "drupal/editor_advanced_link": "2.x-dev@dev", "drupal/ckeditor_iframe": "^3.0@alpha1", "drupal/linkit": "^6.0", "drupal/pathauto": "^1.5", From b927fb478e3f280fd422a48911639038828cdb7c Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Wed, 1 May 2024 19:25:30 +0200 Subject: [PATCH 06/24] Updated --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 9792697..c1dbdeb 100644 --- a/composer.json +++ b/composer.json @@ -9,14 +9,14 @@ "drupal/metatag": "^2.0", "drupal/easy_breadcrumb": "^2.0", "drupal/extlink": "^1.3", - "drupal/editor_advanced_link": "2.x-dev@dev", + "drupal/editor_advanced_link": "dev-2.x", "drupal/ckeditor_iframe": "^3.0@alpha1", - "drupal/linkit": "^6.0", + "drupal/linkit": "^6.1", "drupal/pathauto": "^1.5", "drupal/chosen": "^4.0", - "drupal/textfield_counter": "*", - "drupal/redirect": "*", - "drupal/save_edit": "^1.3" + "drupal/textfield_counter": "^2.3", + "drupal/redirect": "^1.9", + "drupal/save_edit": "^1.7" }, "license": "EUPL-1.2", "minimum-stability": "dev" From 2bcd830e0dbdf5b4c8eeb2ce62c519c2d482259e Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Wed, 1 May 2024 19:43:58 +0200 Subject: [PATCH 07/24] Updated --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c1dbdeb..1d22190 100644 --- a/composer.json +++ b/composer.json @@ -20,4 +20,4 @@ }, "license": "EUPL-1.2", "minimum-stability": "dev" -} \ No newline at end of file +} From 6b129446ef78c23f2bcf1ef691964fe96bb289f5 Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Wed, 1 May 2024 20:16:38 +0200 Subject: [PATCH 08/24] Updated --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1d22190..4bc6d86 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "drupal/easy_breadcrumb": "^2.0", "drupal/extlink": "^1.3", "drupal/editor_advanced_link": "dev-2.x", - "drupal/ckeditor_iframe": "^3.0@alpha1", + "drupal/ckeditor_iframe": "3.0@alpha1", "drupal/linkit": "^6.1", "drupal/pathauto": "^1.5", "drupal/chosen": "^4.0", From ffda1310a38d1f2978259c220d49b983b6d11c27 Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Wed, 1 May 2024 20:20:59 +0200 Subject: [PATCH 09/24] Updated --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4bc6d86..1dc8f31 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ "drupal/metatag": "^2.0", "drupal/easy_breadcrumb": "^2.0", "drupal/extlink": "^1.3", - "drupal/editor_advanced_link": "dev-2.x", + "drupal/editor_advanced_link": "2.x-dev@dev", "drupal/ckeditor_iframe": "3.0@alpha1", "drupal/linkit": "^6.1", "drupal/pathauto": "^1.5", From c7df2586cd3160bc9614fa46bf536ba1fd7c70bd Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Wed, 1 May 2024 20:26:37 +0200 Subject: [PATCH 10/24] Updated --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1dc8f31..c31c5ee 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "drupal/easy_breadcrumb": "^2.0", "drupal/extlink": "^1.3", "drupal/editor_advanced_link": "2.x-dev@dev", - "drupal/ckeditor_iframe": "3.0@alpha1", + "drupal/ckeditor_iframe": "^3.0@alpha", "drupal/linkit": "^6.1", "drupal/pathauto": "^1.5", "drupal/chosen": "^4.0", From a0e6dc5aaed1dbd544b7ffb52597d6433a22984a Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Thu, 2 May 2024 11:53:03 +0200 Subject: [PATCH 11/24] Update rights --- config/optional/user.role.editor.yml | 1 - config/optional/user.role.webmaster.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/config/optional/user.role.editor.yml b/config/optional/user.role.editor.yml index 9d81949..2c5c264 100644 --- a/config/optional/user.role.editor.yml +++ b/config/optional/user.role.editor.yml @@ -31,7 +31,6 @@ permissions: - 'revert os2web_hearings_hearing_case revisions' - 'revert os2web_page revisions' - 'schedule publishing of nodes' - - 'translate os2web_page node' - 'update media' - 'use publish_content transition create_new_draft' - 'use publish_content transition publish' diff --git a/config/optional/user.role.webmaster.yml b/config/optional/user.role.webmaster.yml index fa9ae79..8025024 100644 --- a/config/optional/user.role.webmaster.yml +++ b/config/optional/user.role.webmaster.yml @@ -80,7 +80,6 @@ permissions: - 'translate any entity' - 'translate block_content' - 'translate os2web_contact' - - 'translate os2web_page node' - 'translate os2web_sektion taxonomy_term' - 'translate os2web_spotbox' - 'translate paragraph' From ef63fc51bb1f6fd0ea4275c25488ac88b8953846 Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Thu, 2 May 2024 11:58:42 +0200 Subject: [PATCH 12/24] Update rights --- config/optional/user.role.editor.yml | 2 -- config/optional/user.role.webmaster.yml | 2 -- 2 files changed, 4 deletions(-) diff --git a/config/optional/user.role.editor.yml b/config/optional/user.role.editor.yml index 2c5c264..de57426 100644 --- a/config/optional/user.role.editor.yml +++ b/config/optional/user.role.editor.yml @@ -32,8 +32,6 @@ permissions: - 'revert os2web_page revisions' - 'schedule publishing of nodes' - 'update media' - - 'use publish_content transition create_new_draft' - - 'use publish_content transition publish' - 'use text format wysiwyg_tekst' - 'view all media revisions' - 'view all os2web spotbox revisions' diff --git a/config/optional/user.role.webmaster.yml b/config/optional/user.role.webmaster.yml index 8025024..1f4846a 100644 --- a/config/optional/user.role.webmaster.yml +++ b/config/optional/user.role.webmaster.yml @@ -86,8 +86,6 @@ permissions: - 'update any media' - 'update content translations' - 'update media' - - 'use publish_content transition create_new_draft' - - 'use publish_content transition publish' - 'use search_api_autocomplete for os2web_search' - 'use text format wysiwyg_tekst' - 'view all media revisions' From ceb0c5ccf5a438961355bd5b0cb7553508ec9329 Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Thu, 2 May 2024 14:42:14 +0200 Subject: [PATCH 13/24] Updated for drupal 10 --- .../optional/editor.editor.wysiwyg_tekst.yml | 77 ------------------- config/optional/user.role.webmaster.yml | 5 -- os2web_hjemmeside.install | 3 +- 3 files changed, 2 insertions(+), 83 deletions(-) delete mode 100644 config/optional/editor.editor.wysiwyg_tekst.yml diff --git a/config/optional/editor.editor.wysiwyg_tekst.yml b/config/optional/editor.editor.wysiwyg_tekst.yml deleted file mode 100644 index f8260f6..0000000 --- a/config/optional/editor.editor.wysiwyg_tekst.yml +++ /dev/null @@ -1,77 +0,0 @@ -langcode: da -status: true -dependencies: - config: - - filter.format.wysiwyg_tekst - module: - - ckeditor5 -format: wysiwyg_tekst -editor: ckeditor5 -settings: - toolbar: - rows: - - - - - name: Formatering - items: - - Format - - Bold - - Underline - - Italic - - Strike - - - name: Edit - items: - - Paste - - PasteText - - PasteFromWord - - Undo - - Redo - - - name: Alignment - items: - - JustifyCenter - - JustifyLeft - - JustifyRight - - JustifyBlock - - - name: Links - items: - - DrupalLink - - DrupalUnlink - - - name: Lister - items: - - BulletedList - - NumberedList - - Table - - - name: Media - items: - - Blockquote - - DrupalImage - - - name: Embed - items: - - Iframe - - - name: Værktøjer - items: - - Source - - RemoveFormat - plugins: - stylescombo: - styles: '' - language: - language_list: un - drupallink: - linkit_enabled: true - linkit_profile: os2web_hjemmeside -image_upload: - status: false - scheme: public - directory: inline-images - max_size: '' - max_dimensions: - width: 2000 - height: 2000 diff --git a/config/optional/user.role.webmaster.yml b/config/optional/user.role.webmaster.yml index 1f4846a..ac17f53 100644 --- a/config/optional/user.role.webmaster.yml +++ b/config/optional/user.role.webmaster.yml @@ -35,7 +35,6 @@ permissions: - 'administer meta tags' - 'administer os2web contact entities' - 'administer os2web spotbox entities' - - 'administer os2web_meetings configuration' - 'administer paragraphs settings' - 'administer scheduler' - 'administer taxonomy' @@ -46,7 +45,6 @@ permissions: - 'create media' - 'create os2web_hearings_hearing_case content' - 'create os2web_page content' - - 'create os2web_system_page content' - 'create url aliases' - 'delete all os2web contact revisions' - 'delete all os2web spotbox revisions' @@ -78,15 +76,12 @@ permissions: - 'schedule publishing of nodes' - 'skip comment approval' - 'translate any entity' - - 'translate block_content' - 'translate os2web_contact' - - 'translate os2web_sektion taxonomy_term' - 'translate os2web_spotbox' - 'translate paragraph' - 'update any media' - 'update content translations' - 'update media' - - 'use search_api_autocomplete for os2web_search' - 'use text format wysiwyg_tekst' - 'view all media revisions' - 'view all os2web contact revisions' diff --git a/os2web_hjemmeside.install b/os2web_hjemmeside.install index 81f3c95..5df4e33 100644 --- a/os2web_hjemmeside.install +++ b/os2web_hjemmeside.install @@ -14,7 +14,8 @@ use Symfony\Component\Yaml\Yaml; * Configuration name. */ function os2web_hjemmeside_read_in_new_config($config_name) { - $path = drupal_get_path('module', 'os2web_hjemmeside'); +// $path = drupal_get_path('module', 'os2web_hjemmeside'); + $path = \Drupal::service('extension.list.module')->getPath('os2web_hjemmeside'); /** @var \Drupal\Core\Config\StorageInterface $active_storage */ $active_storage = \Drupal::service('config.storage'); $active_storage->write($config_name, Yaml::parse(file_get_contents($path . '/config/optional/' . $config_name . '.yml'))); From 8c5e16b4fe401fe2e5e15484eeb9321fadbfe2da Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Mon, 6 May 2024 14:00:14 +0200 Subject: [PATCH 14/24] Remove missing modules rights --- config/optional/user.role.editor.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/config/optional/user.role.editor.yml b/config/optional/user.role.editor.yml index de57426..ebec45e 100644 --- a/config/optional/user.role.editor.yml +++ b/config/optional/user.role.editor.yml @@ -13,37 +13,18 @@ permissions: - 'access media overview' - 'access os2web_borgerdk content overview' - 'access toolbar' - - 'add os2web spotbox entities' - 'administer menu' - - 'administer menu_link_content display' - 'administer redirects' - - 'create content translations' - 'create media' - - 'create os2web_hearings_hearing_case content' - - 'create os2web_page content' - 'delete media' - - 'delete own os2web_hearings_hearing_case content' - - 'delete own os2web_page content' - - 'edit os2web spotbox entities' - 'edit own comments' - - 'edit own os2web_hearings_hearing_case content' - - 'edit own os2web_page content' - - 'revert os2web_hearings_hearing_case revisions' - - 'revert os2web_page revisions' - 'schedule publishing of nodes' - 'update media' - 'use text format wysiwyg_tekst' - 'view all media revisions' - - 'view all os2web spotbox revisions' - - 'view any unpublished content' - - 'view latest version' - 'view media' - 'view os2web_borgerdk content' - - 'view os2web_hearings_hearing_case revisions' - - 'view os2web_page revisions' - 'view own unpublished content' - 'view own unpublished media' - - 'view published os2web spotbox entities' - 'view scheduled content' - 'view the administration theme' - - 'view unpublished os2web spotbox entities' From 45e7a9e1ffe788164867668557b5a35b23ff00e7 Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Mon, 6 May 2024 14:00:58 +0200 Subject: [PATCH 15/24] Remove missing modules rights --- config/optional/user.role.webmaster.yml | 37 ------------------------- 1 file changed, 37 deletions(-) diff --git a/config/optional/user.role.webmaster.yml b/config/optional/user.role.webmaster.yml index ac17f53..8b813af 100644 --- a/config/optional/user.role.webmaster.yml +++ b/config/optional/user.role.webmaster.yml @@ -11,21 +11,18 @@ permissions: - 'access content' - 'access content overview' - 'access contextual links' - - 'access delete and reassign user deletion' - 'access files overview' - 'access media overview' - 'access site reports' - 'access taxonomy overview' - 'access toolbar' - 'add os2web contact entities' - - 'add os2web spotbox entities' - 'administer blocks' - 'administer comments' - 'administer contact forms' - 'administer crop' - 'administer crop types' - 'administer easy breadcrumb' - - 'administer eu cookie compliance popup' - 'administer extlink' - 'administer filters' - 'administer image styles' @@ -34,70 +31,36 @@ permissions: - 'administer media types' - 'administer meta tags' - 'administer os2web contact entities' - - 'administer os2web spotbox entities' - 'administer paragraphs settings' - 'administer scheduler' - 'administer taxonomy' - 'administer url aliases' - 'administer users' - 'change own username' - - 'create content translations' - 'create media' - - 'create os2web_hearings_hearing_case content' - - 'create os2web_page content' - 'create url aliases' - 'delete all os2web contact revisions' - - 'delete all os2web spotbox revisions' - 'delete all revisions' - 'delete any media' - - 'delete any os2web_hearings_hearing_case content' - - 'delete any os2web_page content' - - 'delete content translations' - 'delete media' - 'delete os2web contact entities' - - 'delete os2web spotbox entities' - - 'delete os2web_hearings_hearing_case revisions' - - 'delete os2web_page revisions' - - 'delete own os2web_hearings_hearing_case content' - - 'delete own os2web_page content' - - 'edit any os2web_hearings_hearing_case content' - - 'edit any os2web_page content' - 'edit os2web contact entities' - - 'edit os2web spotbox entities' - 'edit own comments' - - 'edit own os2web_hearings_hearing_case content' - - 'edit own os2web_page content' - 'post comments' - 'revert all os2web contact revisions' - - 'revert all os2web spotbox revisions' - 'revert all revisions' - - 'revert os2web_hearings_hearing_case revisions' - - 'revert os2web_page revisions' - 'schedule publishing of nodes' - 'skip comment approval' - - 'translate any entity' - - 'translate os2web_contact' - - 'translate os2web_spotbox' - - 'translate paragraph' - 'update any media' - - 'update content translations' - 'update media' - 'use text format wysiwyg_tekst' - 'view all media revisions' - 'view all os2web contact revisions' - - 'view all os2web spotbox revisions' - 'view all revisions' - - 'view any unpublished content' - - 'view latest version' - 'view media' - - 'view os2web_hearings_hearing_case revisions' - - 'view os2web_page revisions' - - 'view own unpublished content' - 'view own unpublished media' - 'view published os2web contact entities' - - 'view published os2web spotbox entities' - 'view scheduled content' - 'view the administration theme' - 'view unpublished os2web contact entities' - - 'view unpublished os2web spotbox entities' - 'view unpublished paragraphs' From 0e7e846a9ce4ec47ea6e48c1979f970f0e1cc3a2 Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Mon, 6 May 2024 14:01:34 +0200 Subject: [PATCH 16/24] Added missing modules dependencies --- os2web_hjemmeside.info.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/os2web_hjemmeside.info.yml b/os2web_hjemmeside.info.yml index dff0262..d988ae9 100644 --- a/os2web_hjemmeside.info.yml +++ b/os2web_hjemmeside.info.yml @@ -19,3 +19,7 @@ dependencies: - redirect - textfield_counter - save_edit + - menu_link_content + # os2web + - os2web_borgerdk + From 4274386c1faf536742376e4a34d97ce9047b1242 Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Mon, 27 May 2024 15:27:16 +0200 Subject: [PATCH 17/24] Added editor right --- config/optional/user.role.editor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/optional/user.role.editor.yml b/config/optional/user.role.editor.yml index ebec45e..3ab6c71 100644 --- a/config/optional/user.role.editor.yml +++ b/config/optional/user.role.editor.yml @@ -15,6 +15,7 @@ permissions: - 'access toolbar' - 'administer menu' - 'administer redirects' + - 'administer blocks' - 'create media' - 'delete media' - 'edit own comments' From 54113e3bf48c1590da8e34ef1a0bc192f3b37825 Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Fri, 31 May 2024 15:34:42 +0200 Subject: [PATCH 18/24] Added ckeditor5 config --- .../optional/editor.editor.wysiwyg_tekst.yml | 139 ++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 config/optional/editor.editor.wysiwyg_tekst.yml diff --git a/config/optional/editor.editor.wysiwyg_tekst.yml b/config/optional/editor.editor.wysiwyg_tekst.yml new file mode 100644 index 0000000..8193ac5 --- /dev/null +++ b/config/optional/editor.editor.wysiwyg_tekst.yml @@ -0,0 +1,139 @@ +uuid: 22ed9985-7d87-400e-b821-b13449265a5a +langcode: da +status: true +dependencies: + config: + - filter.format.wysiwyg_tekst + module: + - ckeditor5 +format: wysiwyg_tekst +editor: ckeditor5 +settings: + toolbar: + items: + - heading + - bold + - italic + - '|' + - blockQuote + - code + - bulletedList + - numberedList + - indent + - outdent + - alignment + - underline + - strikethrough + - insertTable + - drupalInsertImage + - media_directories + - codeBlock + - sourceEditing + - link + - iframeEmbed + plugins: + ckeditor5_alignment: + enabled_alignments: + - center + - justify + - left + - right + ckeditor5_codeBlock: + languages: + - + label: 'Plain text' + language: plaintext + - + label: C + language: c + - + label: 'C#' + language: cs + - + label: C++ + language: cpp + - + label: CSS + language: css + - + label: Diff + language: diff + - + label: HTML + language: html + - + label: Java + language: java + - + label: JavaScript + language: javascript + - + label: PHP + language: php + - + label: Python + language: python + - + label: Ruby + language: ruby + - + label: TypeScript + language: typescript + - + label: XML + language: xml + ckeditor5_heading: + enabled_headings: + - heading1 + - heading2 + - heading3 + - heading4 + - heading5 + - heading6 + ckeditor5_imageResize: + allow_resize: true + ckeditor5_list: + properties: + reversed: false + startIndex: true + multiBlock: true + ckeditor5_sourceEditing: + allowed_tags: + - '' + - '
' + - '
' + - '
' + - '' + - '
' + - '
    ' + - '
      ' + - '' + - '
      ' + - '

      ' + - '

      ' + - '

      ' + - '

      ' + - '
      ' + - '

      ' + ckeditor_iframe_embed_iframeembed: + enabled_optional_attributes: + - height + - width + - name + - tabindex + - title + editor_advanced_link_link: + enabled_attributes: { } + linkit_extension: + linkit_enabled: true + linkit_profile: default + media_media: + allow_view_mode_override: false +image_upload: + status: false + scheme: public + directory: inline-images + max_size: '' + max_dimensions: + width: 0 + height: 0 From 4dcc0bbca254984093fc196c60ad96add5d3cc73 Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Fri, 31 May 2024 15:43:27 +0200 Subject: [PATCH 19/24] Added ckeditor default --- .../editor.editor.webform_default.yml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 config/optional/editor.editor.webform_default.yml diff --git a/config/optional/editor.editor.webform_default.yml b/config/optional/editor.editor.webform_default.yml new file mode 100644 index 0000000..296ac1d --- /dev/null +++ b/config/optional/editor.editor.webform_default.yml @@ -0,0 +1,49 @@ +uuid: 0ef3fe57-bf38-4fcd-9a03-190376c3cbdd +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: + properties: + reversed: true + startIndex: true + multiBlock: true + ckeditor5_sourceEditing: + allowed_tags: { } +image_upload: { } From 6230bd2241dd7a2985baece547039d9e600a02e5 Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Fri, 31 May 2024 16:06:39 +0200 Subject: [PATCH 20/24] UPdated --- config/optional/editor.editor.wysiwyg_tekst.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/optional/editor.editor.wysiwyg_tekst.yml b/config/optional/editor.editor.wysiwyg_tekst.yml index 8193ac5..f2bf7b7 100644 --- a/config/optional/editor.editor.wysiwyg_tekst.yml +++ b/config/optional/editor.editor.wysiwyg_tekst.yml @@ -1,12 +1,11 @@ -uuid: 22ed9985-7d87-400e-b821-b13449265a5a langcode: da status: true dependencies: config: - - filter.format.wysiwyg_tekst + - filter.format.wysiwyg_text module: - ckeditor5 -format: wysiwyg_tekst +format: wysiwyg_text editor: ckeditor5 settings: toolbar: From c350d1aed4c81bd98179f9ac4a99adc759f6a811 Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Fri, 31 May 2024 16:13:26 +0200 Subject: [PATCH 21/24] Update ckeditor config --- config/optional/editor.editor.webform_default.yml | 1 - config/optional/editor.editor.wysiwyg_tekst.yml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/optional/editor.editor.webform_default.yml b/config/optional/editor.editor.webform_default.yml index 296ac1d..cce7ae1 100644 --- a/config/optional/editor.editor.webform_default.yml +++ b/config/optional/editor.editor.webform_default.yml @@ -1,4 +1,3 @@ -uuid: 0ef3fe57-bf38-4fcd-9a03-190376c3cbdd langcode: en status: true dependencies: diff --git a/config/optional/editor.editor.wysiwyg_tekst.yml b/config/optional/editor.editor.wysiwyg_tekst.yml index f2bf7b7..d56d179 100644 --- a/config/optional/editor.editor.wysiwyg_tekst.yml +++ b/config/optional/editor.editor.wysiwyg_tekst.yml @@ -2,10 +2,10 @@ langcode: da status: true dependencies: config: - - filter.format.wysiwyg_text + - filter.format.wysiwyg_tekst module: - ckeditor5 -format: wysiwyg_text +format: wysiwyg_tekst editor: ckeditor5 settings: toolbar: From ae07bc415ed01d8c8b5cff5d10c904a1e061af0f Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Mon, 3 Jun 2024 13:37:22 +0200 Subject: [PATCH 22/24] Updated --- os2web_hjemmeside.info.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/os2web_hjemmeside.info.yml b/os2web_hjemmeside.info.yml index d988ae9..cd924ea 100644 --- a/os2web_hjemmeside.info.yml +++ b/os2web_hjemmeside.info.yml @@ -15,6 +15,9 @@ dependencies: - pathauto - chosen - media + - media_directories + - media_directories_editor + - media_directories_ui - metatag - redirect - textfield_counter From 0b70010f15d1afe95ca9bc759a8c331cec69ae19 Mon Sep 17 00:00:00 2001 From: Henrik Tholle Date: Mon, 3 Jun 2024 13:57:00 +0200 Subject: [PATCH 23/24] Updated --- ...ay.taxonomy_term.media_folders.default.yml | 55 +++ .../embed.button.media_directories.yml | 28 ++ ...owser.media_directories_editor_browser.yml | 29 ++ ...rowser.browser.media_directories_modal.yml | 29 ++ ...ser.browser.media_directories_overview.yml | 26 ++ ...t_settings.taxonomy_term.media_folders.yml | 11 + .../optional/media_directories.settings.yml | 5 + .../media_directories_editor.settings.yml | 5 + .../media_directories_ui.settings.yml | 8 + .../taxonomy.vocabulary.media_folders.yml | 24 ++ .../views.view.media_directories_base.yml | 405 ++++++++++++++++++ 11 files changed, 625 insertions(+) create mode 100644 config/optional/core.entity_form_display.taxonomy_term.media_folders.default.yml create mode 100644 config/optional/embed.button.media_directories.yml create mode 100644 config/optional/entity_browser.browser.media_directories_editor_browser.yml create mode 100644 config/optional/entity_browser.browser.media_directories_modal.yml create mode 100644 config/optional/entity_browser.browser.media_directories_overview.yml create mode 100644 config/optional/language.content_settings.taxonomy_term.media_folders.yml create mode 100644 config/optional/media_directories.settings.yml create mode 100644 config/optional/media_directories_editor.settings.yml create mode 100644 config/optional/media_directories_ui.settings.yml create mode 100644 config/optional/taxonomy.vocabulary.media_folders.yml create mode 100644 config/optional/views.view.media_directories_base.yml diff --git a/config/optional/core.entity_form_display.taxonomy_term.media_folders.default.yml b/config/optional/core.entity_form_display.taxonomy_term.media_folders.default.yml new file mode 100644 index 0000000..7c06438 --- /dev/null +++ b/config/optional/core.entity_form_display.taxonomy_term.media_folders.default.yml @@ -0,0 +1,55 @@ +uuid: 67eccc78-48e5-4748-a888-20b5d120b34d +langcode: da +status: true +dependencies: + config: + - taxonomy.vocabulary.media_folders + module: + - path + - text +id: taxonomy_term.media_folders.default +targetEntityType: taxonomy_term +bundle: media_folders +mode: default +content: + description: + type: text_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + langcode: + type: language_select + weight: 2 + region: content + settings: + include_locked: true + third_party_settings: { } + name: + type: string_textfield + weight: -5 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + path: + type: path + weight: 30 + region: content + settings: { } + third_party_settings: { } + status: + type: boolean_checkbox + weight: 100 + region: content + settings: + display_label: true + third_party_settings: { } +hidden: + publish_on: true + publish_state: true + unpublish_on: true + unpublish_state: true diff --git a/config/optional/embed.button.media_directories.yml b/config/optional/embed.button.media_directories.yml new file mode 100644 index 0000000..cceb64a --- /dev/null +++ b/config/optional/embed.button.media_directories.yml @@ -0,0 +1,28 @@ +uuid: ec183e1e-a57b-422b-ba13-485721f983c7 +langcode: da +status: true +dependencies: + config: + - entity_browser.browser.media_directories_editor_browser + module: + - entity_embed + - media + - media_directories_editor +_core: + default_config_hash: jOVjHoQgVR9dBBm3QBPPmHQlg9DRd5IO3qsy1SOSWHU +label: Media +id: media_directories +type_id: entity +type_settings: + entity_type: media + bundles: { } + display_plugins: + - 'entity_reference:media_directories_image_dimensions' + - 'view_mode:media.full' + entity_browser: media_directories_editor_browser + entity_browser_settings: + display_review: false +icon: + uri: 'public://embed_buttons/folder.svg' + data: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gU3ZnIFZlY3RvciBJY29ucyA6IGh0dHA6Ly93d3cub25saW5ld2ViZm9udHMuY29tL2ljb24gLS0+DQo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxMDAwIDEwMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPG1ldGFkYXRhPiBTdmcgVmVjdG9yIEljb25zIDogaHR0cDovL3d3dy5vbmxpbmV3ZWJmb250cy5jb20vaWNvbiA8L21ldGFkYXRhPg0KPGc+PHBhdGggZD0iTTkyNC4zLDU1MC44YzAtMTItOS4xLTE4LTI3LjItMThIMzM4LjZjLTEzLjcsMC0yOC4zLDMuNy00My45LDExYy0xNS42LDcuNC0yNy44LDE2LjMtMzYuNywyNi45TDEwNy4xLDc1Ny4yYy02LjIsOC4yLTkuMiwxNS4xLTkuMiwyMC41YzAsMTIsOS4xLDE4LDI3LjIsMThoNTU4LjVjMTMuNywwLDI4LjQtMy44LDQ0LjItMTEuM2MxNS43LTcuNSwyNy45LTE2LjYsMzYuNC0yNy4ybDE1MC45LTE4Ni4zQzkyMS4yLDU2My4zLDkyNC4zLDU1Ni42LDkyNC4zLDU1MC44TDkyNC4zLDU1MC44eiBNMzM4LjYsNDY3LjFoMzk0LjJWMzg1YzAtMTMuNy00LjgtMjUuMy0xNC40LTM0LjljLTkuNi05LjYtMjEuMi0xNC40LTM0LjktMTQuNEgzODcuOWMtMTMuNywwLTI1LjMtNC44LTM0LjktMTQuNGMtOS42LTkuNi0xNC40LTIxLjItMTQuNC0zNC45di0zMi45YzAtMTMuNy00LjgtMjUuMy0xNC40LTM0LjljLTkuNi05LjYtMjEuMi0xNC40LTM0LjktMTQuNEgxMjVjLTEzLjcsMC0yNS4zLDQuOC0zNC45LDE0LjRjLTkuNiw5LjYtMTQuNCwyMS4yLTE0LjQsMzQuOXY0MzcuOWwxMzEuNC0xNjEuN2MxNS4xLTE4LjEsMzQuOS0zMy4xLDU5LjYtNDQuOUMyOTEuNCw0NzMsMzE1LjMsNDY3LjEsMzM4LjYsNDY3LjFMMzM4LjYsNDY3LjF6IE05OTAsNTUwLjhjMCwyMS4yLTcuOSw0MS44LTIzLjYsNjEuNkw4MTUsNzk4LjhjLTE0LjcsMTguMS0zNC42LDMzLjEtNTkuNiw0NC45Yy0yNSwxMS44LTQ5LDE3LjctNzEuOSwxNy43SDEyNWMtMzEuNSwwLTU4LjUtMTEuMy04MS4xLTMzLjlDMjEuMyw4MDQuOSwxMCw3NzcuOSwxMCw3NDYuNFYyNTMuNmMwLTMxLjUsMTEuMy01OC41LDMzLjktODEuMWMyMi42LTIyLjYsNDkuNi0zMy45LDgxLjEtMzMuOWgxNjQuM2MzMS41LDAsNTguNSwxMS4zLDgxLjEsMzMuOWMyMi42LDIyLjYsMzMuOSw0OS42LDMzLjksODEuMVYyNzBoMjc5LjNjMzEuNSwwLDU4LjUsMTEuMyw4MS4xLDMzLjljMjIuNiwyMi42LDMzLjksNDkuNiwzMy45LDgxLjF2ODIuMWg5OC42YzE4LjUsMCwzNS40LDQuMiw1MC44LDEyLjZjMTUuNCw4LjQsMjYuOSwyMC41LDM0LjQsMzYuMkM5ODcuNCw1MjYuOSw5OTAsNTM4LjUsOTkwLDU1MC44TDk5MCw1NTAuOHoiLz48L2c+DQo8L3N2Zz4= +icon_uuid: null diff --git a/config/optional/entity_browser.browser.media_directories_editor_browser.yml b/config/optional/entity_browser.browser.media_directories_editor_browser.yml new file mode 100644 index 0000000..d282052 --- /dev/null +++ b/config/optional/entity_browser.browser.media_directories_editor_browser.yml @@ -0,0 +1,29 @@ +uuid: e4b60d51-0167-4ea4-b92d-016e25d23898 +langcode: da +status: true +dependencies: + module: + - views +_core: + default_config_hash: Ft-_y8y1CaFeczXk7k90GmfNeCe_M3LPb1zCJDcwy1Y +name: media_directories_editor_browser +label: 'Media Directories: Editor widget' +display: iframe +display_configuration: + width: '' + height: '' + link_text: 'Select entities' + auto_open: true +selection_display: no_display +selection_display_configuration: { } +widget_selector: single +widget_selector_configuration: { } +widgets: + 5bc2a17c-b080-4a3b-867c-7953ae9b55c4: + id: media_directories_browser_widget + uuid: 5bc2a17c-b080-4a3b-867c-7953ae9b55c4 + label: 'Directory browser' + weight: -10 + settings: + submit_text: 'Select media' + auto_select: 0 diff --git a/config/optional/entity_browser.browser.media_directories_modal.yml b/config/optional/entity_browser.browser.media_directories_modal.yml new file mode 100644 index 0000000..1932872 --- /dev/null +++ b/config/optional/entity_browser.browser.media_directories_modal.yml @@ -0,0 +1,29 @@ +uuid: e9dd5c61-56c4-4a18-b42b-3e9310f1cb1a +langcode: da +status: true +dependencies: + module: + - views +_core: + default_config_hash: 9jlEbfJ5s9oFKv18z5W61XQok2xQOSPAHCJ448vlSVw +name: media_directories_modal +label: 'Media Directories: Field widget' +display: modal +display_configuration: + width: '' + height: '' + link_text: 'Vælg medie' + auto_open: false +selection_display: no_display +selection_display_configuration: { } +widget_selector: single +widget_selector_configuration: { } +widgets: + 24011187-a4c0-42f1-a71a-eec339d3721f: + id: media_directories_browser_widget + uuid: 24011187-a4c0-42f1-a71a-eec339d3721f + label: Browser + weight: -10 + settings: + submit_text: 'Select media' + auto_select: 0 diff --git a/config/optional/entity_browser.browser.media_directories_overview.yml b/config/optional/entity_browser.browser.media_directories_overview.yml new file mode 100644 index 0000000..07166ae --- /dev/null +++ b/config/optional/entity_browser.browser.media_directories_overview.yml @@ -0,0 +1,26 @@ +uuid: 7f7a4218-5a9c-4de0-b1a1-4e0224f130b2 +langcode: da +status: true +dependencies: + module: + - views +_core: + default_config_hash: fwYnA3r1hTsmdfWhNHjuT32WZwfmgm9MeW9Qld0bv_A +name: media_directories_overview +label: 'Media Directories: Standalone' +display: standalone +display_configuration: + path: /admin/content/browser +selection_display: no_display +selection_display_configuration: { } +widget_selector: single +widget_selector_configuration: { } +widgets: + 35012080-4c05-4d06-aa7b-0a179e04a611: + id: media_directories_browser_widget + uuid: 35012080-4c05-4d06-aa7b-0a179e04a611 + label: Browser + weight: 1 + settings: + submit_text: 'Select entities' + auto_select: 0 diff --git a/config/optional/language.content_settings.taxonomy_term.media_folders.yml b/config/optional/language.content_settings.taxonomy_term.media_folders.yml new file mode 100644 index 0000000..1b1c68e --- /dev/null +++ b/config/optional/language.content_settings.taxonomy_term.media_folders.yml @@ -0,0 +1,11 @@ +uuid: 4716b44b-c340-4159-90ab-143209a6ceb0 +langcode: da +status: true +dependencies: + config: + - taxonomy.vocabulary.media_folders +id: taxonomy_term.media_folders +target_entity_type_id: taxonomy_term +target_bundle: media_folders +default_langcode: site_default +language_alterable: false diff --git a/config/optional/media_directories.settings.yml b/config/optional/media_directories.settings.yml new file mode 100644 index 0000000..4de8521 --- /dev/null +++ b/config/optional/media_directories.settings.yml @@ -0,0 +1,5 @@ +_core: + default_config_hash: aipPq6CU2rqYYGujJSSE_kf2CLN0BEfpxkJwt2KjJPc +langcode: da +directory_taxonomy: media_folders +all_files_in_root: false diff --git a/config/optional/media_directories_editor.settings.yml b/config/optional/media_directories_editor.settings.yml new file mode 100644 index 0000000..cad3982 --- /dev/null +++ b/config/optional/media_directories_editor.settings.yml @@ -0,0 +1,5 @@ +_core: + default_config_hash: ACWqqM3kpCGpWe-_tL74iZTeFbiEKQDRFr3R38bS69o +langcode: da +embed_dialog: + image_styles: { } diff --git a/config/optional/media_directories_ui.settings.yml b/config/optional/media_directories_ui.settings.yml new file mode 100644 index 0000000..0fefe64 --- /dev/null +++ b/config/optional/media_directories_ui.settings.yml @@ -0,0 +1,8 @@ +_core: + default_config_hash: 6ynzArDptMgNVdAPodaYCxp1_iI3gS-5vLfl5M7H13M +langcode: da +hide_media_library_media_tab: false +hide_media_library_files_tab: false +hide_admin_toolbar_links: false +enable_combined_upload: false +combined_upload_media_types: { } diff --git a/config/optional/taxonomy.vocabulary.media_folders.yml b/config/optional/taxonomy.vocabulary.media_folders.yml new file mode 100644 index 0000000..c2d3767 --- /dev/null +++ b/config/optional/taxonomy.vocabulary.media_folders.yml @@ -0,0 +1,24 @@ +uuid: 9033cc40-2958-4a7a-8d44-2e2219f60fe6 +langcode: da +status: true +dependencies: + module: + - scheduler +third_party_settings: + scheduler: + expand_fieldset: when_required + fields_display_mode: vertical_tab + publish_enable: false + publish_past_date: error + publish_past_date_created: false + publish_required: false + publish_revision: false + publish_touch: false + show_message_after_update: true + unpublish_enable: false + unpublish_required: false + unpublish_revision: false +name: 'Media folders' +vid: media_folders +description: '' +weight: 0 diff --git a/config/optional/views.view.media_directories_base.yml b/config/optional/views.view.media_directories_base.yml new file mode 100644 index 0000000..4d15aae --- /dev/null +++ b/config/optional/views.view.media_directories_base.yml @@ -0,0 +1,405 @@ +uuid: c29d405e-e0fc-4e0d-b5db-1cf199ace143 +langcode: da +status: true +dependencies: + config: + - core.entity_view_mode.media.media_library + module: + - entity_browser + - media + - media_directories + - media_directories_ui + - user +_core: + default_config_hash: GFhvOm0OCSGT4YmhydVxLkhSLeO6jiWDEcAXjOHkgT8 +id: media_directories_base +label: 'Media directories browser' +module: views +description: '' +tag: '' +base_table: media_field_data +base_field: mid +display: + default: + id: default + display_title: Master + display_plugin: default + position: 0 + display_options: + fields: + entity_browser_select: + id: entity_browser_select + table: media + field: entity_browser_select + relationship: none + group_type: group + admin_label: '' + entity_type: media + plugin_id: entity_browser_select + label: '' + 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: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + rendered_entity: + id: rendered_entity + table: media + field: rendered_entity + relationship: none + group_type: group + admin_label: '' + entity_type: media + plugin_id: rendered_entity + label: '' + 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: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: false + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + view_mode: media_library + pager: + type: full + options: + offset: 0 + items_per_page: 18 + total_pages: null + id: 0 + tags: + next: 'Næste ›' + previous: '‹ Forrige' + first: '« Første' + last: 'Sidste »' + expose: + items_per_page: false + items_per_page_label: 'Antal elementer' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- Alle -' + offset: false + offset_label: Forskydning + quantity: 9 + exposed_form: + type: basic + options: + submit_button: Udfør + reset_button: false + reset_button_label: Gendan + exposed_sorts_label: 'Sortér efter' + expose_sort_order: true + sort_asc_label: Stigende + sort_desc_label: Faldende + access: + type: perm + options: + perm: 'view media' + cache: + type: tag + options: { } + empty: + area_text_custom: + id: area + table: views + field: area_text_custom + relationship: none + group_type: group + admin_label: '' + plugin_id: text_custom + empty: true + content: 'Folder is empty' + tokenize: false + sorts: + changed: + id: changed + table: media_field_data + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: changed + plugin_id: date + order: DESC + expose: + label: '' + field_identifier: '' + exposed: false + granularity: second + arguments: + directory: + id: directory + table: media_field_data + field: directory + relationship: none + group_type: group + admin_label: '' + entity_type: media + plugin_id: media_directory + default_action: default + exception: + value: all + title_enable: false + title: Alle + title_enable: false + title: '' + default_argument_type: fixed + default_argument_options: + argument: '-1' + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + bundle: + id: bundle + table: media_field_data + field: bundle + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: bundle + plugin_id: string + default_action: ignore + exception: + value: all + title_enable: false + title: Alle + title_enable: false + title: '' + default_argument_type: fixed + default_argument_options: + argument: '' + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + glossary: false + limit: 0 + case: none + path_case: none + transform_dash: false + break_phrase: true + media_name: + id: media_name + table: media_field_data + field: media_name + relationship: none + group_type: group + entity_type: media + plugin_id: media_directory_ui_string_contains + title_enable: false + default_argument_type: fixed + specify_validation: false + filters: + status: + id: status + table: media_field_data + field: status + entity_type: media + entity_field: status + plugin_id: boolean + value: '1' + group: 1 + expose: + operator: '' + operator_limit_selection: false + operator_list: { } + default_langcode: + id: default_langcode + table: media_field_data + field: default_langcode + relationship: none + group_type: group + admin_label: '' + entity_type: media + entity_field: default_langcode + plugin_id: boolean + operator: '=' + value: '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 + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + style: + type: default + options: + grouping: { } + row_class: '' + default_row_class: false + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: { } + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - url + - url.query_args + - user.permissions + tags: + - 'config:core.entity_view_display.media.audio.default' + - 'config:core.entity_view_display.media.audio.media_library' + - 'config:core.entity_view_display.media.document.default' + - 'config:core.entity_view_display.media.document.media_library' + - 'config:core.entity_view_display.media.image.default' + - 'config:core.entity_view_display.media.image.media_library' + - 'config:core.entity_view_display.media.remote_video.default' + - 'config:core.entity_view_display.media.remote_video.media_library' + - 'config:core.entity_view_display.media.video.default' + - 'config:core.entity_view_display.media.video.media_library' + media_browser: + id: media_browser + display_title: 'Entity browser' + display_plugin: entity_browser + position: 2 + display_options: + rendering_language: '***LANGUAGE_language_interface***' + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_interface' + - url + - url.query_args + - user.permissions + tags: + - 'config:core.entity_view_display.media.audio.default' + - 'config:core.entity_view_display.media.audio.media_library' + - 'config:core.entity_view_display.media.document.default' + - 'config:core.entity_view_display.media.document.media_library' + - 'config:core.entity_view_display.media.image.default' + - 'config:core.entity_view_display.media.image.media_library' + - 'config:core.entity_view_display.media.remote_video.default' + - 'config:core.entity_view_display.media.remote_video.media_library' + - 'config:core.entity_view_display.media.video.default' + - 'config:core.entity_view_display.media.video.media_library' From b03c35844ec7d54d31fe955fb51128d31f3e5aa6 Mon Sep 17 00:00:00 2001 From: Stanislav Kutasevits Date: Mon, 11 Nov 2024 11:36:12 +0200 Subject: [PATCH 24/24] Updating extlinks to 2.0 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c31c5ee..78866dc 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "drupal/core": "*", "drupal/metatag": "^2.0", "drupal/easy_breadcrumb": "^2.0", - "drupal/extlink": "^1.3", + "drupal/extlink": "^2.0", "drupal/editor_advanced_link": "2.x-dev@dev", "drupal/ckeditor_iframe": "^3.0@alpha", "drupal/linkit": "^6.1",