change body via hook_mail_alter() not working

Hi,

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).

Delete orphan files

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?

Thanks.

NotFoundHttpException in RouteCollection.php line 161:

Hi,

I am using Drupal 8.2. My local site is working. I put it to the server. And it gives following error message

"NotFoundHttpException in RouteCollection.php line 161:"

site url is : http://ip address/site

I have changed the .htaccess file and uncomment following lines and test but still got error.

RewriteBase /site

and one below on separate occasions.

RewriteBase /

Any help is much appreciated.

Entity/field definitions bug

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

The node.panelizer field needs to be updated.

Again $GET and $_POST

I am running Drupal 8.2.4

I created a node (page) with PHP text format, say node/999:

[D8]website migration -> RefererNotAllowedMapError Google Map

Hi,

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 ?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x