Parse error: syntax error, unexpected T_STRING in /home/....public_html/includes/ on line 592

Hi I'm getting this error message:
Parse error: syntax error, unexpected T_STRING in /home/....../includes/ on line 592

These are the lines mentioned:

Managing configuration - do's and don'ts


  • It's strongly recommended that you do a database-dump before each synchronization of the staging and the active directory. The database-dump "could save your life" on a potential needed rollback-strategy.


  • Try to change the active configuration on your site by changing files in a module's config/install directory. This will NOT work because Drupal will only read from that directory when the module is installed.

Working with Configuration Forms

Use $config in Form Context

You can use configuration forms to figure out how $config can grab the data entered by the user and change the data in the {module}.settings.yml file. Here is the code to declare a $config object in the form, which you can find in Form Settings PHP file.

ConfigFormBase with Simple Configuration API

This type of form is used to create forms for configuration pages on your Drupal website. You can set up configuration forms that allow you to make changes to features or views or other configuration entities.

Drupal 8 Module Development

Create and design your own modules and websites from scratch with Drupal 8
Packt Publishing
Publication date: 
Page count: 

What you will learn from this book

  • Build your own modules extending Drupal's core functionality
  • Create custom Blocks, Fields, Entities, and more
  • Learn how to work with Drupal's hook system
  • Explore the major APIs and libraries introduced in Drupal 8 to build successful Drupal websites
  • Familiarize yourself with Drupal’s Theming layer and template engine
  • Test your code programmatically with Drupal's Simple Test framework
  • Develop interactive form-based tools with Drupal's Forms API

In Detail

Drupal 8 is a free, open source content management system primarily used for the development and management of websites. Comparing it with its predecessor, Drupal 7, Drupal 8 introduces a number of huge architectural changes geared towards better usability, development experience, and cross-platform support, making it the most versatile and flexible open source CMS in the world.

Starting with the basic technologies that drive Drupal, this book will walk you through the architecture of Drupal 8 and its main subsystems and explain how to use its APIs to build your own custom modules.

It also delves into the concepts of Symfony 2 and its basic components that are used in Drupal 8. It will help you venture into the domain of admin interface designing, plugins, and views newly introduced in this version of Drupal. It will also enable you to gain valuable insights on the changes in JavaScript and the updated command names.

It then rounds off by giving you an overview of the module porting process and the concept of Profile Installation.


An easy-to-follow yet comprehensive guide full of illustrations, code snippets, and tips with detailed, step-by-step explanations of all the topics to demonstrate Drupal 8’s built-in features and APIs.

Who this book is for

This book is for all Drupal and PHP developers who wish to learn how to develop and customize their own modules to suit their needs and requirements.

Will Drupal 8 Be Out Of Date To Soon?

Will Drupal 8 Be Out Of Date To Soon?
Here's a few things to consider

Drupal is aimed at large scale enterprise websites.
So performance and scalability is important.

But PHP based website is not going to have better
performance and scalability as a Node.js
based website application. This is a fact!

So wouldn't enterprise websites client opt for Node.js over a php website
sometime in the future?


Subscribe with RSS Subscribe to RSS - Drupal 8.x