Problem/Motivation
Part of #2851705: [meta] Deprecate DRUPAL_DISABLED, DRUPAL_OPTIONAL and DRUPAL_REQUIRED - we want to deprecate DRUPAL_DISABLED, DRUPAL_OPTIONAL and DRUPAL_REQUIRED. Doing this in a single issue is too hard to review and we want to change the API as we go.
This ticket is for the Link module.
Proposed resolution
- Add LinkTitleVisibility enum
- Replace usages of constants with new enum
API changes
None
Release notes snippet
N/A
Issue fork drupal-3538661
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3538661-add-linktitlevisibility-enum
changes, plain diff MR !12865
Comments
Comment #3
acbramley commentedPostponing this on #3538277: Add NodePreview enum and replace usage of DRUPAL_DISABLED, DRUPAL_OPTIONAL and DRUPAL_REQUIRED for enum logic reuse.
Comment #4
acbramley commentedComment #5
mstrelan commentedOnly one thing I'm not sure about in LinkFieldTest, not changing status here.
Comment #6
mstrelan commentedComment #7
dwwJust did a close review on the MR changes. Agreed this is RTBC. I resolved a couple of the open threads. Left a micro-nit on 1 open thread, but not worth changing the status over it.
However, do we need a CR here to introduce the new enum?
Thanks,
-Derek
Comment #8
dwwSaving credit for code and reviews.
Comment #9
catchNeeds another rebase.
Comment #10
acbramley commentedRebased cleanly via the UI for me
Comment #12
catchCommitted/pushed to 11.x, thanks!