Drupal is a registered trademark of Dries Buytaert

pair_store

5 sites No security coverage
View on drupal.org

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
10 months ago
Release cadence
0 days
Stability
100% stable

Releases

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