Architectural Concepts
Recap some Symfony OOP concepts and Drupal 8 Paradigms
for a larger list see https://www.drupal.org/developing/api/8
Interface
can be used to instruct classes about which methods to implement. multiple interfaces can be implemented by a single class, an interface can extend another interface.
Services
can be tagged. tagged services can be discovered with a service collector for listing services
another good example of services is serialization
Elements or better form and render elements - are reusable elements.
checkout key module for a great example
Entities
Entities are plugins, the EntityManager class is the plugin manager.
config entities
The configuration system isn't meant for per-user content (or content at all)
Forms
form states if you want to show/hide/collapse/expand... elements depending on other elements
Entity Form Builder is a specific implementation of the normal Form API used when dealing with entities
Routes Menus Localtasks
Last updated