How to get current time of Drupal server with Rest API

I want to get current time of Drupal server with Rest API.
Does Drupal provide us this function?
And how can I set a View or Rest API?

How to get contents between start date and end date

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.

[Question]
How can I set the View to do above?

*Drupal version is 8.

Question about entityforms in migrating to D8

Hi Everyone,

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.

Setting up "Quick Edit" contextual link for custom and programatically created block in D8

Hello,

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.

Your help is appreciated.
Thanks.

How to change the redirect after deleting/modifying a Webform submission?

Hi,
is it possible to change the redirect link after editing, submitting and deleting a Webform submission?

Thank you very much.

cld

equivalent for property_callbacks

Hi,

with drupa 7 we have the "property_callbacks" in hook_field_info (
With drupa 8 what would be the equivalent for property_callbacks ?

THX

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x