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 was looking into drupal 8 changes.. where i found the hook_init() no longer exists, since, after introducing the Symfony kernel and events it was not serving any specific need.. As i'm new to drupal development https://www.drupal.org/node/2013014 couldn't fill my doubt.. Can anyone give simple example to implement hook_init() in drupal 8
Thanks in advance :)
What i'm trying to is:
- create a contenttype-template
- print some fields instead of the {{ content }} variable
What i have done so far:
- created my own theme
- with css and js files
- created a templates folder with subfolders content and layout
- copied node.html.twig and page.html.twig from the classy theme
What i want do is print some custom fields as a variable in the node-template.
Hi,
Trying to install Drupal 8.0.2 on a new computer (1st experience with drupal) which has the very latest xampp installed. (not sure if I should be trying 8.0.2 yet but here goes (on W10 installation)).
All works fine until it hits the following error:
"Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\drupal\core\lib\Drupal\Core\Database\Statement.php on line 64"
This happens on the 3rd or 4th action (2 to go if I recall correctly).