Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Little helpers

74 sites Security covered
View on drupal.org

This module provides a set of helper classes and functions for Drupal development, offering utilities for managing services, database models, REST API clients, configuration merging, form element trees, and webform interactions. It functions purely as an API and requires no user interface.

This is pure API module without any UI. You only need to install it, when anoher module depends on it.

This is a module that provides an additional API for drupal core and various contributed modules that make development more convenient. Additional classes are added as needed.

Installation

Install this module and its dependencies like any other Drupal modules.

Dependencies

  • psr0
  • webform ≥ 4.0 (only needed if you use the related functionality)

Usage

Use the classes provided as you see fit. The module uses psr0 so you don’t need to care about including the files.

Features

  • Services\Container: services container that can also be used as plugin loader. A default instance of a global container is provided.
  • DB\Model: A base-class for simple ORM model classes.
  • Rest\Client: A simple JSON/REST API client.
  • ArrayConfig::mergeDefaults(): A utility function that does the right thing™ when merging defaults into config arrays.
  • ElementTree: Utility methods to apply functions recursively on a Drupal element tree (form API or renderable array).
  • Webform: Wrapper around webform submissions and webforms for easier access of submitted values.

Devlopment

Development on this module is happening mainly on github. Feel free to post issues and pull requests there.

Note: Development branches on drupal.org might be outdated because they are only pushed to in order to tag releases.

Activity

Total releases
1
First release
Mar 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
7.x-2.0 Stable Mar 28, 2025