In Drupal 8, is there a convention as to which file in the module a hook is placed?
For example, in some modules I've seen hook_install() implemented in module.install instead of modulename.module, and some views-specific hooks in modulename.views.inc.
When should a hook be placed outside of modulename.module?
If you're working in the PHP content management space (a fancy way of saying building websites with WordPress, Drupal, etc.) you've likely heard about Symfony. While it is just one part of a larger renaissance in the PHP community, it's probably the best known brand known to developers and business folk alike.
Using Symfony as a concept, however is quite ambiguous. Let's take a look at how three different content management tools have done just this.
I just post it here as I don't really beleive such will be broken in a beta version.
There must be an issue on my side.
Returning to devevelopment after some years, I just setted a new server (ubuntu/php/mysql) to test D8.
The server is funcitonnal and holding well a simplemachineforum currently in produciton.
After everthing was woring great, I installed D8 and ho my good feeling.
Everthing was working well but I then wanted to extend it with some modules and so the fun came to end.
Hi! I am working on multi step form in drupal 8 and i have defined a previous button also as in the example below but the submit handler never gets called. any idea ?