Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
link.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2025 at 23:19 UTC
Updated:
12 Sep 2025 at 07:54 UTC
Jump to comment: Most recent
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.
- Add LinkTitleVisibility enum
- Replace usages of constants with new enum
None
N/A
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:
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!