Hashids

Component type

module

Maintenance status

Development status

Downloads

1625

Component created

Component changed

Hashids is a small open-source library that generates short, unique, non-sequential ids from numbers.

It converts numbers like 347 into strings like “yr8”, or array of numbers like [27, 986] into “3kTMd”.

You can also decode those ids back. This is useful in bundling several parameters into one or simply using them as short UIDs.

See the official project page at http://hashids.org/

Features:

Drusible

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Drusible - a Vagrant/Ansible Drupal Environment

Create a Drupal dev environment with ease.

Prereqs

  • VirtualBox
  • Ruby (should be installed already)
  • Vagrant
  • Ansible (sudo pip install ansible)

Install

Once you have these requirements installed, cd to the `drusible` dir and run:

vagrant up

then go grab yourself a coffee...

Commerce Coupon Rules

Component type

module

Maintenance status

Development status

Component created

Component changed

Provides individual white list and black list rules for individual coupons (from Commerce coupons), allowing the site builder or developer to easily customize conditions for each coupon instead of manually creating and organizing a bunch of rules in the standard rules UI.

Config

Component type

module

Categories

Maintenance status

Development status

Downloads

1219

Component created

Component changed

Config provides a basic API for providing configuration from files (PHP, JSON, YAML) for Drupal 7.

Config is unlikely to get a release for 8.x.

Usage

<?php
// Load the Config class.
$config = DrupalconfigConfig::load();

// Supports JSON, PHP, and optionally YAML. Want XML? Its extensible.
$parser_type = CONFIG_PARSER_JSON;

// Get the Config.
return $config->getConfig('my_module_name', 'directory_within_module', 'file_within_directory.ext', $parser_type);

?>

Devel form debug

Component type

module

Maintenance status

Development status

Downloads

5640

Component created

Component changed

This module adds a contextual link to every form that lets you easily find out form's ID, name of hook_form_FORM_ID_alter() hook and print out form's variables. The module is a successor of Get Form ID (https://www.drupal.org/project/get_form_id) which is deprecated from now on.