Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm writing a module that allows users to configure special access restrictions on nodes to reflect academic publishing agreements (called 'embargoes'), which are stored in a custom config entity that points to a node and describes what types of access restrictions should be applied, and who is exempt (users, roles, IP ranges, etc).
I am new to drupal need help i have a content type Job where i have some custom fields 5-6.
now i create a node for that content type with custom fields entry. for example that node is 4 now i created a webform.
Requirement is : show node id = 4 field data on top of webform which i created.
I'm using drupal 8.8 and I'm looking for a way to display in my taxonomy exposed filters, only taxonomies terms which are related to contents(nodes). In other words i don't want to dysplay terms which are not related to content. I suppose that i have to make a hook_form_views_exposed_form_alter. But i don't know how to retrieve only the "good" terms.