Chinese identity card - 身份证

Component type

module

Maintenance status

Development status

Downloads

1137

Component created

Component changed

The Chinese Identity Card module is a small module and provide a field type for this module

But it's useful for entering ID Card in china. And provide a validation function inside code, No need to install field validation module or using drupal form alter api to add validation handler.

This module using text form element, And adding a module defined widget.

Now this module only accepts valid ID Numbers in china (For example: 511702197701193532 or 320311770706001).

Message System

Component type

module

Maintenance status

Development status

Component created

Component changed

Replaces system mails (eg. user registration) with Message module messages - allows for SMS, fields, attachments etc.

Achieves this by declaring Message types for each user mail, then using hook_mail_alter to intercept those mails and send via Message instead.

Some user tokens (eg. one-time-login-url, cancel-url) require a patch to Token module to be replaced properly:
https://www.drupal.org/files/issues/one-time-login-url-not-being-replace...

Jibraaaaaaan!

Component type

module

Maintenance status

Development status

Component created

Component changed

Jibraaaaaaan is a finite state machine implementation done with an extensible hook mechanism. It is designed for developers, and is very, very easy to use... at least for some definitions of 'easy'... and 'very'... and 'use'.

For example, if you want a finite state machine with seven steps (including init and finish), you would simply create a module (we'll call it "selfie") that defines these seven functions:

Menu link placeholder

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Description

This module makes it possible to create a menu item without a link.

How to use

  • Install the module
  • Add the contents of menu_link_placeholder.services.yml to your services.yml
  • Change your menu.html.twig to have something like:
{% if item.no_link %}
  <span {{ item.url.attributes }}>{{ item.title|raw }}</span>
{% else %}
  {{ link(item.title, item.url) }}
{% endif %}

Panels Bean Widget

Component type

module

Maintenance status

Development status

Component created

Component changed

Did you ever wanted to add a bean to a panel but you can't export a bean, don't want to have content on git and dont wan't to lose your modifications on panels in a feature revert? Then this module is for you!

The module provides a widget that works like a placeholder in panels, you add the module to a panel, input the Bean Label (it's called delta on database), and exports with features. It's just like if you were using a machine name in a bean, instead of depends on bean ids.

How to use:

When editing a panels page:

Field group extra

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Extra formatter options for Field Groups:
* fieldset: set title display to visible/invisible/none (NB currently fieldsets don't use #title_display, no #title is set to NULL in both latter cases)

BEM classes

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Module to add BEM classes to fields/entities based on a configurable array of field/entity/bundle names mapped to BEM classes.
Provides hook_bem_alter($bem_array) to view/alter the BEM classes.

TODO:
* blocks
* views?
* ...

Device Detector

Component type

module

Maintenance status

Development status

Downloads

1347

Component created

Component changed

Synopsis

Device Detector is a simple, PHP-based browser and device(Desktop & Mobile)feature-detection module that can detect devices & browsers on its own without the need to pull from a central database of browser information and adds configuration classes to HTML "BODY" tag.