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.

Pair Store

5 sites No security coverage
View on drupal.org

This module provides a simple way to store, retrieve, and manage key-value pairs directly within your Drupal site's configuration or runtime settings. It's ideal for developers needing to store small amounts of temporary data without creating full content types.

Pair Store is a lightweight Drupal module that allows you to store, retrieve,
and manage key-value pairs directly in your site configuration or runtime settings.
It's useful for developers looking for a simple interface to store paired data,
especially for temporary or small data needs without building a full entity or content type.

Features

  • Store arbitrary key-value data.
  • Simple API to set, get, delete, and list pairs.
  • Provides an admin UI to /admin/pair-store/list key-value pairs.

Installation

  1. Download the module:

  2. Enable the module:

    • Through the admin UI at /admin/modules.
    • Or using Drush:
      drush en pair_store
      

Usage

Programmatic API

$config = \Drupal::config('pair_store.settings');
$pairs = $config->get('pairs');

Maintainers

Activity

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

Releases

Version Type Release date
1.0.1 Stable Apr 14, 2025
1.0.0 Stable Apr 14, 2025