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.
As you probably know, the blog content type has been moved out of Drupal 8 core. There is Blog module that replicates the blog functionality. However, somewhere along the way it was decided to change the content type machine name. D7 core blog uses "blog" whilst the contributed module uses "blog_post".
I have a module that overrides the alter_hook form. The form created is a form created by the core form tool in Drupal 8. When I try to modify one of the fields, I cannot submit the form, but get an error:
Fatal error: Cannot unset string offsets in .../core/lib/Drupal/Core/Field/WidgetBase.php on line 356
I am working on Drupal 8. I have a to display content from a content type on different pages. I am trying to use Views to achieve this.
In the content type I added a field to refer to Pages so that I can create relation between content of content type and Pages (another content type). Basically its like tagging content with page name.
I want to display content from content type created on those pages tagged in the content. I am not able to achieve using views.
Any ideas how this can be done? I have tried contextual filter and relationship but none works.
Right after installing the Dev Desktop 8 on PC, I received the message:
Drupal 8.1.3
Drupal already installed
To start over, you must empty your existing database and copy default.settings.php over settings.php.
To upgrade an existing installation, proceed to the update script.
View your existing site.