Provide a way to use different values for the target attribute for the title if the Link checkbox is enabled

Created on 19 September 2023, over 1 year ago
Updated 29 December 2023, over 1 year ago

Problem/Motivation

Sometimes is useful to have the ability to set different target attributes on the node title if it works as a link.

Right now this feature requires template overriding or field preprocessing, so it might be handy to get the ability to handle the target attribute from the form of display mode configuration.

Proposed resolution

  1. Update the class Drupal\ds\Plugin\DsField\Title to provide a select list for the chosen target attribute.
  2. Update Drupal\ds\Plugin\DsField\Field class to provide support for changes from step 1.
✨ Feature request
Status

Fixed

Version

3.15

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine _tarik_ Lutsk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024