how to order grouped fields in the sidebar on a node form

how to order grouped fields in the sidebar on a node form

On my old Drupal 7 site, I was able to group a set of fields and display them as a tab in the sidebar. I’m moving it to Drupal 8 and using the adminimal theme. I created groups and am using the details sidebar widget. I’d like my custom groups to appear at... read more
How do I compare a date field with the current time in a twig template?

How do I compare a date field with the current time in a twig template?

I have a date field on a node – set to a custom date format (c which is ISO) in the Manage Display. I have a twig template checking to see if that date field comes before today, in which is should output Past. Outputting the fields/comparison values gets me the... read more
How do I compare a date field with the current time in a twig template?

Search Api display search term in form

How do I display the search term after I have run the search. Here is my form: <input data-drupal-selector="edit-search-api-fulltext" id="edit-search-api-fulltext" placeholder="Keyword" name="search_api_fulltext"... read more
How to get parent paragraph from a child block preprocess

How to get parent paragraph from a child block preprocess

Searched all over the place but cannot find anything similar. Here’s the issue… The setup: ‘Page’ content type ‘Block Content’ paragraph type The ‘Page’ content type has a field for referencing the ‘Block... read more