Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I would like to see views integration for filtering the list of pages (and files), or some other way to add filters to the query.
I have a checkbox on 3 content types, and one of the linkit profiles should only list the nodes which have this checkbox. I use a link field, so its also possible to link to external sources.
Comments
Comment #1
FranzSkaaning CreditAttribution: FranzSkaaning commentedComment #2
anonYou can do this with code.
Use hook_query_TAG_alter
Comment #3
jdleonardAnother option is to use hook_entity_query_alter