Closed (fixed)
Project:
Custom Elements
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Oct 2019 at 17:30 UTC
Updated:
17 Oct 2019 at 15:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
pagach commentedAdded patch with default link processor.
Comment #3
pagach commentedThere is a wrong comment there. Will fix when committing.
Comment #4
fagoWeird that it uses $link_item->get('title')->getValue() and not the usual shortcut $link_item->title !?
This will output a different structure if the user decides the leave the title empty, what is a nogo as it will break frontend code relying on the structure. The check must look at teh configuration whether a title input is allowed and if it's allowed it must always output a full element.
Comment #5
pagach commentedSwitched to short syntax.
Changing structure only when link title is disable.
Comment #6
pagach commented