diff --git a/modules/custom/d_p/src/Plugin/Field/FieldWidget/ButtonLinkWidget.php b/modules/custom/d_p/src/Plugin/Field/FieldWidget/ButtonLinkWidget.php index e556d736f..0428e20a4 100644 --- a/modules/custom/d_p/src/Plugin/Field/FieldWidget/ButtonLinkWidget.php +++ b/modules/custom/d_p/src/Plugin/Field/FieldWidget/ButtonLinkWidget.php @@ -39,10 +39,7 @@ public function formElement(FieldItemListInterface $items, $delta, array $elemen '#default_value' => $options['type'] ?? ButtonTypeEnum::Primary->value, ]; - $parent_elements = parent::formElement($items, $delta, $element, $form, $form_state); - $parent_elements['title']['#required'] = TRUE; - - return $element + $parent_elements; + return $element + parent::formElement($items, $delta, $element, $form, $form_state); } /** diff --git a/modules/custom/d_p_banner/config/install/field.field.paragraph.d_p_banner.field_d_cta_link.yml b/modules/custom/d_p_banner/config/install/field.field.paragraph.d_p_banner.field_d_cta_link.yml index 4f812dfdd..4bc6fb586 100644 --- a/modules/custom/d_p_banner/config/install/field.field.paragraph.d_p_banner.field_d_cta_link.yml +++ b/modules/custom/d_p_banner/config/install/field.field.paragraph.d_p_banner.field_d_cta_link.yml @@ -17,6 +17,6 @@ translatable: true default_value: { } default_value_callback: '' settings: + title: 2 link_type: 17 - title: 1 field_type: link diff --git a/modules/custom/d_p_counters/config/install/field.field.paragraph.d_p_group_of_counters.field_d_cta_link.yml b/modules/custom/d_p_counters/config/install/field.field.paragraph.d_p_group_of_counters.field_d_cta_link.yml index af7359b47..8bfa3e35d 100644 --- a/modules/custom/d_p_counters/config/install/field.field.paragraph.d_p_group_of_counters.field_d_cta_link.yml +++ b/modules/custom/d_p_counters/config/install/field.field.paragraph.d_p_group_of_counters.field_d_cta_link.yml @@ -18,5 +18,5 @@ default_value: { } default_value_callback: '' settings: link_type: 17 - title: 1 + title: 2 field_type: link diff --git a/modules/custom/d_p_gallery/config/install/field.field.paragraph.d_p_gallery.field_d_cta_link.yml b/modules/custom/d_p_gallery/config/install/field.field.paragraph.d_p_gallery.field_d_cta_link.yml index 5aa695766..f8916fc18 100644 --- a/modules/custom/d_p_gallery/config/install/field.field.paragraph.d_p_gallery.field_d_cta_link.yml +++ b/modules/custom/d_p_gallery/config/install/field.field.paragraph.d_p_gallery.field_d_cta_link.yml @@ -18,5 +18,5 @@ default_value: { } default_value_callback: '' settings: link_type: 17 - title: 1 + title: 2 field_type: link diff --git a/modules/custom/d_p_reference_content/config/install/field.field.paragraph.d_p_reference_content.field_d_cta_link.yml b/modules/custom/d_p_reference_content/config/install/field.field.paragraph.d_p_reference_content.field_d_cta_link.yml index c2a635b69..1b5eb063d 100644 --- a/modules/custom/d_p_reference_content/config/install/field.field.paragraph.d_p_reference_content.field_d_cta_link.yml +++ b/modules/custom/d_p_reference_content/config/install/field.field.paragraph.d_p_reference_content.field_d_cta_link.yml @@ -18,5 +18,5 @@ default_value: { } default_value_callback: '' settings: link_type: 17 - title: 1 + title: 2 field_type: link diff --git a/modules/custom/d_p_side_by_side/config/install/field.field.paragraph.d_p_side_by_side.field_d_cta_link.yml b/modules/custom/d_p_side_by_side/config/install/field.field.paragraph.d_p_side_by_side.field_d_cta_link.yml index 92c456d21..b1363ad95 100644 --- a/modules/custom/d_p_side_by_side/config/install/field.field.paragraph.d_p_side_by_side.field_d_cta_link.yml +++ b/modules/custom/d_p_side_by_side/config/install/field.field.paragraph.d_p_side_by_side.field_d_cta_link.yml @@ -18,5 +18,5 @@ default_value: { } default_value_callback: '' settings: link_type: 17 - title: 1 + title: 2 field_type: link diff --git a/modules/custom/d_p_side_embed/config/install/field.field.paragraph.d_p_side_embed.field_d_cta_link.yml b/modules/custom/d_p_side_embed/config/install/field.field.paragraph.d_p_side_embed.field_d_cta_link.yml index 755b8c99b..f1afaf2f5 100644 --- a/modules/custom/d_p_side_embed/config/install/field.field.paragraph.d_p_side_embed.field_d_cta_link.yml +++ b/modules/custom/d_p_side_embed/config/install/field.field.paragraph.d_p_side_embed.field_d_cta_link.yml @@ -18,5 +18,5 @@ default_value: { } default_value_callback: '' settings: link_type: 17 - title: 1 + title: 2 field_type: link diff --git a/modules/custom/d_p_side_image/config/install/field.field.paragraph.d_p_side_image.field_d_cta_link.yml b/modules/custom/d_p_side_image/config/install/field.field.paragraph.d_p_side_image.field_d_cta_link.yml index 562dc3b76..40f1fbbdb 100644 --- a/modules/custom/d_p_side_image/config/install/field.field.paragraph.d_p_side_image.field_d_cta_link.yml +++ b/modules/custom/d_p_side_image/config/install/field.field.paragraph.d_p_side_image.field_d_cta_link.yml @@ -18,5 +18,5 @@ default_value: { } default_value_callback: '' settings: link_type: 17 - title: 1 + title: 2 field_type: link diff --git a/modules/custom/d_p_side_tiles/config/install/field.field.paragraph.d_p_side_tiles.field_d_cta_link.yml b/modules/custom/d_p_side_tiles/config/install/field.field.paragraph.d_p_side_tiles.field_d_cta_link.yml index 7752bb8db..a597625bd 100644 --- a/modules/custom/d_p_side_tiles/config/install/field.field.paragraph.d_p_side_tiles.field_d_cta_link.yml +++ b/modules/custom/d_p_side_tiles/config/install/field.field.paragraph.d_p_side_tiles.field_d_cta_link.yml @@ -18,5 +18,5 @@ default_value: { } default_value_callback: '' settings: link_type: 17 - title: 1 + title: 2 field_type: link diff --git a/modules/custom/d_p_text_blocks/config/install/field.field.paragraph.d_p_group_of_text_blocks.field_d_cta_link.yml b/modules/custom/d_p_text_blocks/config/install/field.field.paragraph.d_p_group_of_text_blocks.field_d_cta_link.yml index 574967d78..3497f541b 100644 --- a/modules/custom/d_p_text_blocks/config/install/field.field.paragraph.d_p_group_of_text_blocks.field_d_cta_link.yml +++ b/modules/custom/d_p_text_blocks/config/install/field.field.paragraph.d_p_group_of_text_blocks.field_d_cta_link.yml @@ -17,6 +17,6 @@ translatable: true default_value: { } default_value_callback: '' settings: - title: 1 + title: 2 link_type: 17 field_type: link diff --git a/modules/custom/d_p_text_blocks/config/install/field.field.paragraph.d_p_single_text_block.field_d_cta_link.yml b/modules/custom/d_p_text_blocks/config/install/field.field.paragraph.d_p_single_text_block.field_d_cta_link.yml index 650e88943..bfd9a6193 100644 --- a/modules/custom/d_p_text_blocks/config/install/field.field.paragraph.d_p_single_text_block.field_d_cta_link.yml +++ b/modules/custom/d_p_text_blocks/config/install/field.field.paragraph.d_p_single_text_block.field_d_cta_link.yml @@ -17,6 +17,6 @@ translatable: true default_value: { } default_value_callback: '' settings: - title: 1 + title: 2 link_type: 17 field_type: link diff --git a/modules/custom/d_p_text_paged/config/install/field.field.paragraph.d_p_text_paged.field_d_cta_link.yml b/modules/custom/d_p_text_paged/config/install/field.field.paragraph.d_p_text_paged.field_d_cta_link.yml index 6866bbdbb..03a84ee4d 100644 --- a/modules/custom/d_p_text_paged/config/install/field.field.paragraph.d_p_text_paged.field_d_cta_link.yml +++ b/modules/custom/d_p_text_paged/config/install/field.field.paragraph.d_p_text_paged.field_d_cta_link.yml @@ -18,5 +18,5 @@ default_value: { } default_value_callback: '' settings: link_type: 17 - title: 1 + title: 2 field_type: link diff --git a/modules/custom/d_p_tiles/config/install/core.entity_form_display.paragraph.d_p_tiles.default.yml b/modules/custom/d_p_tiles/config/install/core.entity_form_display.paragraph.d_p_tiles.default.yml index dff1491ae..c3f4dc0ae 100644 --- a/modules/custom/d_p_tiles/config/install/core.entity_form_display.paragraph.d_p_tiles.default.yml +++ b/modules/custom/d_p_tiles/config/install/core.entity_form_display.paragraph.d_p_tiles.default.yml @@ -12,7 +12,6 @@ dependencies: module: - d_p - field_group - - link_attributes - media_library - text third_party_settings: @@ -84,21 +83,22 @@ bundle: d_p_tiles mode: default content: field_d_cta_link: - type: link_attributes + type: button_link_widget weight: 5 region: content settings: placeholder_url: '' placeholder_title: '' enabled_attributes: - id: true - name: true - target: true - rel: true - class: true - accesskey: true - aria-label: false - title: false + id: id + name: name + target: target + rel: rel + class: class + accesskey: 0 + aria-label: 0 + title: 0 + widget_default_open: expandIfValuesSet third_party_settings: { } field_d_long_text: type: text_textarea diff --git a/modules/custom/d_p_tiles/config/install/core.entity_view_display.paragraph.d_p_tiles.default.yml b/modules/custom/d_p_tiles/config/install/core.entity_view_display.paragraph.d_p_tiles.default.yml index f413cfafc..23e5c001e 100644 --- a/modules/custom/d_p_tiles/config/install/core.entity_view_display.paragraph.d_p_tiles.default.yml +++ b/modules/custom/d_p_tiles/config/install/core.entity_view_display.paragraph.d_p_tiles.default.yml @@ -10,8 +10,8 @@ dependencies: - field.field.paragraph.d_p_tiles.field_d_settings - paragraphs.paragraphs_type.d_p_tiles module: + - d_p - field_group - - link - text third_party_settings: field_group: @@ -96,14 +96,14 @@ bundle: d_p_tiles mode: default content: field_d_cta_link: - type: link + type: button_link_formatter label: hidden settings: - trim_length: 80 + trim_length: '80' url_only: false url_plain: false - rel: '' - target: '' + rel: 0 + target: 0 third_party_settings: { } weight: 5 region: content diff --git a/modules/custom/d_p_tiles/config/install/core.entity_view_mode.media.d_tiles_gallery_fullscreen.yml b/modules/custom/d_p_tiles/config/install/core.entity_view_mode.media.d_tiles_gallery_fullscreen.yml index 9d2691d85..695971b15 100644 --- a/modules/custom/d_p_tiles/config/install/core.entity_view_mode.media.d_tiles_gallery_fullscreen.yml +++ b/modules/custom/d_p_tiles/config/install/core.entity_view_mode.media.d_tiles_gallery_fullscreen.yml @@ -5,5 +5,6 @@ dependencies: - media id: media.d_tiles_gallery_fullscreen label: 'Tiles gallery fullscreen' +description: '' targetEntityType: media cache: true diff --git a/modules/custom/d_p_tiles/config/install/core.entity_view_mode.media.tiles_gallery_fullscreen_featured.yml b/modules/custom/d_p_tiles/config/install/core.entity_view_mode.media.tiles_gallery_fullscreen_featured.yml index 3ea9481da..33c6f2db2 100644 --- a/modules/custom/d_p_tiles/config/install/core.entity_view_mode.media.tiles_gallery_fullscreen_featured.yml +++ b/modules/custom/d_p_tiles/config/install/core.entity_view_mode.media.tiles_gallery_fullscreen_featured.yml @@ -5,5 +5,6 @@ dependencies: - media id: media.tiles_gallery_fullscreen_featured label: 'Tiles gallery fullscreen featured' +description: '' targetEntityType: media cache: true diff --git a/modules/custom/d_p_tiles/config/install/field.field.paragraph.d_p_tiles.field_d_cta_link.yml b/modules/custom/d_p_tiles/config/install/field.field.paragraph.d_p_tiles.field_d_cta_link.yml index 967aff4b4..b81363395 100644 --- a/modules/custom/d_p_tiles/config/install/field.field.paragraph.d_p_tiles.field_d_cta_link.yml +++ b/modules/custom/d_p_tiles/config/install/field.field.paragraph.d_p_tiles.field_d_cta_link.yml @@ -17,6 +17,6 @@ translatable: true default_value: { } default_value_callback: '' settings: + title: 2 link_type: 17 - title: 1 field_type: link