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 using Drupal 8 and I'm trying to change/update the body content into the function hook_mail_alter() using the parameter $message['body'].
I found that $message['body'][0] is a MarkupInterface but the only thing I can do with it is calling the function $message["body"][0]->__toString() to get the body as a string; (I really don't know what this MarkupInterface is used for).
Hi, i am new using Drupal 8 and i have a little issue creating fields of a content type. I deleted a content type but i cannot reuse the machine name of this fields in a new content type. What can i do to delete this fields and use their machine names in my new content type?
I've got Drupal 8.2.4 running and after some effort I was able to update the modules to the latest revisions.
A major issue of course is CTools, which does not state there are dependencies, and as to be expected there are dependencies.
One of the dependencies is Entity and after installing Entity and all the other patches I found this error in my status page
Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Content
I'm using Drupal 8 and a Cocoon theme, Vanessa.
Since i have migrate my website, my google map is no longer displayed and i get a RefererNotAllowedMapError.
I have created a new google account and did everything needed by this error but one thing : Put the new api key into the of my website.
I don't know very much the architecture of Drupal 8 (wich is based on symfony) and i can't find the file where put this api key.
Please, somedy does have any idea about where looking for ?