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 want to get contents between start date and end date.
[What we want]
Each contents in a view has some data, start date and end date.
I want to get contents that match a condition
The condition is that today is between start date and end date.
I am working on debugging an attempted migration from a Drupal 7 site to Drupal 8. As part of the process, I installed and enabled modules I have on my D7 site on my D8 site build. One of those modules is Eforms, which has been renamed from EntityForms. As I migrate, I am seeing a class of errors that suggest the migration process is not recognizing Eforms and EntityForms. So I am getting errors about entityforms not existing. If my understanding of this problem is correct, how can I get the migration process to see Eforms as the D8 version of entityforms.
In Drupal 8.x, I have created a custom block (plugin, extends BlockBase) programatically and included a text_format field type which acts as a wysiwyg in the buildForm function.
After the block is rendered the quick edit contextual link is missing for that field (or the whole block). Needless to say I created a custom twig template to display the block data.
I'd like to know how can I add the Quick Edit contextual link to any, some, particular or all the fields of the custom block.