Closed maxime-rainville closed 4 months ago
Link is disable by default. All other built-in Link subclasses are enabled by default.
I think Link
should just be explicitly excluded at all times. This makes it both easier to implement this config flag in a sensible way, and means people won't go "Ooh I can turn Link
on" and have a non-funcitonal link implementation that doesn't actually link to anything.
PR's merged. Task is completed.
By default, all link types are available in a LinkField. If a developer wants to disable a specific Link type, they have to do so for each instance of LinkField.
There could be some situation where this is not advisable. e.g. A link type is meant to be an "abstract" parent class for child classes or an esoteric link type only makes sense in a specific context.
Acceptance criteria
setAllowedTypes
method.PR