This project is not covered by Drupal’s security advisory policy.
Provides several tools for developers. This module provides no interface but
only APIs. This module's goal is to provide a more easy way to develop in Drupal. It aims primarily towards advanced developers and the more complex sites.
Tools
For examples please see the /modules/developer_suite_examples folder in the root of this project. The /modules/developer_suite_examples/src/Form/ExampleForm.php is a great place to start.
Command Bus
Provides a ready-to-use command bus for developers. The command bus comes in handy if your application utilizes a service layer. For more information about service layers check out this great talk: https://www.youtube.com/watch?v=ajhqScWECMo.
Batch Manager
The Batch Manager is a service that wraps the Drupal batch API providing an easy interface for your batch operations.
Entity Type Class
Provides a plugin based system to alter entity type classes. It currently support overriding Node (per node type), User and File entity type classes.
Typically you would want to extend entity type classes to create your own getters and setters or to override/extend the entity parents methods. By creating custom getters and setters on Drupal fields (such as title) you are able to provide doc blocks which in turn can help during development.
While powerful, overriding entity type classes is an advanced undertaking and potentially can break your site hard and fast. I would strongly recommend using this module only if you fully understand what you are doing.
Collection
Provides an extendable base class that predefines several useful methods to make working with collections more consistent and easy.
Advanced Validation
Provides an extendable general and form validator class to perform advanced validation much like the Symfony constraints.
Hook Plugins
Provides a plugin based system to implement hooks. By creating a hook plugin you are able to use the service container by implementing the ContainerInjectionInterface. Currently there are a small number of hooks implemented, if you need more hooks to be integrated please post back in the issue queue. Implemented hooks, listed by plugin ID (the hook function name without the 'hook_' part):
- cron
- entity_create
- entity_delete
- entity_insert
- entity_load
- entity_predelete
- entity_presave
- entity_update
- entity_view
- form_alter
- preprocess
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.- Project categories: Developer tools
- Created by mvdgun on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.