Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Provides Dave Reid's standard library of helper functions as static methods in classes. Most useful with custom written modules for individual projects, and not as an actual dependency for other contrib modules.
Dependencies
PHP 5.3+
Helpers
- ArrayHelper.php
- CacheHelper.php
- EntityHelper.php
- FeaturesHelper.php
- FieldHelper.php
- HttpHelper.php
- RenderHelper.php
Tweaks
All the following UI tweaks can be enabled or disabled as desired:
- Makes the 'Delete' operation show up as a tab for nodes.
- Adds an 'unpublished comment count' link to node teasers.
- Adds destination query strings to local actions, and to login/registration paths for anonymous users. So when you complete the action/login/registration, you return to the page you came from.
Other features
- HelperDebugMailLog.php: For logging output from drupal_mail() to the screen and through watchdog().
Proposed for merging into Devel: #1978250: Add a DevelDebugMailLog for logging mails with dpm() and watchdog() - Provides bootstrap, field info, and entity info cache clearing for drush and admin_menu.
- Adds hook_hook_info() support for core modules.
- Makes #states work for all field API formatter settings in the Views UI.
- Fixes user_uri() to not return a value for the anonymous user: #1991464: user_uri() should not return an invalid path (user/0) for the anonymous user object
- Adds support for overriding the '_none' => '- None -' option in list fields' select widgets if you add an option with an empty key (i.e.
|Unknown
).
Supporting organizations:
Development and maintenance
Feature development
Project information
- 769 sites report using this module
- Created by Dave Reid on , updated
- Drupal 10 is here!
Drupal 10 ready!
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
8.x-1.39
released 21 March 2024
Works with Drupal: ^9.4 || ^10
✓ Recommended by the project’s maintainer.
Added ContentEntityUpdater
Install:
Development version: 8.x-1.x-dev updated 14 Feb 2024 at 21:29 UTC
7.x-1.9
released 1 March 2016
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 26 Jun 2016 at 17:53 UTC