Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293207

Allow to select a style option on Link fields

$
0
0

Problem/Motivation

The current formatter for Link field does not provide a style option. This option avoids us creating multiple twig files for each view modes. In certain cases, designers can even ask to style a field differently for the same view mode in an other content type.

Proposed resolution

- Add an option in the formatter to provide this value.
- Add an option in the widget to provide this value in content editing form.
- Add a form to manage Link settings.

Remaining tasks

- Allow to select which entity types should be concerned by the field widget update?

User interface changes

- A new form for Link settings
- A new select field in the Manage display tab under the format settings
- A new select field in the content editing form on each Link field

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 293207

Trending Articles