4. Contents:
• What Drupal 8 provide out of the box?
• What is APi first in Drupal 8?
• What is the role of core experimental modules?
• What is the upgrade path from Drupal 8 to 9?
• Things to know before D8 module development?
20. Things to know before D8 module
development?
• Hook
• Controller
• Services
• Dependency Injection
• Plugins
• Events
• Cache
• Entities
21. 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.)
23. Dependency Injection
• What? :- Passing explicit dependent object.
• Why? :- Not calling the service container every
time.
24. Plugins
• Different behaviours using common interface.
• Plugins can plug any where, runs completely
different.
• Examples:- Blocks, Field Type, Field Widget,
Field Formatter