Drupal Console is a scaffolding tool built for Drupal 8 automatic code generation.
What is Drupal Console?
Why Drupal Console?
How to speed up your drupal 8 development using Drupal Console?
How to create a new console command?
How to create a custom module using Drupal Console?
Automating Google Workspace (GWS) & more with Apps Script
Console your Drupal 8 module development
1. CONSOLE your DRUPAL 8 MODULE DEVELOPMENT
Things you need to know in Drupal 8 module development.
2. Contents:
• When we develop a module?
• Things to know before D8 module development?
• How do we develop, using console?
3. When we develop a module?
• Why we need to create a module?
• Is there any contributed module?
• Should we contribute back?
4. Things to know before D8 module
development?
• Hook
• Controller
• Services
• Dependency Injection
• Plugins
• Events
• Entities
5. Hook and Controller
• hook_menu :- replaced by new systems for routing,
menu links, local tasks, actions and contextual
links
• Controller:- Process the request and returns the
output. (Simple collections of page or request
call backs.)
7. Dependency Injection
• What? :- Passing explicit dependent object.
• Why? :- Not calling the service container every
time.
8. Plugins
• Different behaviours using common interface.
• Plugins can plug any where, runs completely
different.
• Examples:- Blocks, Field Type, Field Widget,
Field Formatter