Field Collection Host Entity

Component type

module

Categories

Maintenance status

Development status

Downloads

368

Component created

Component changed

About

This module provides the host entity for field collection items by adding every host entity as a computed property on field collection bundle level.
There is a patch that does the same. Until the problem is solved this sandbox fixes this problem.
https://www.drupal.org/node/2489142#comment-10049160

Imagefield Extract

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Adds an option to filefields and filefield widget settings to automatically extract the first managed file from the rendered content with an extension allowed in the field settings. Only extracts one file currently, could be changed with a loop.

The widget settings option enables presenting a checkbox to the editor per field instance - 'Automatically extract this field from the rendered content'. If the checkbox is ticked when an entity with that field instance is edited, the file is extracted and set on hook_entity_presave.

Data Default Values

Component type

module

Maintenance status

Development status

Component created

Component changed

Data Default Value provides a super simple field widget alter that blindly goes and adds the HTML5 attribute 'data-default' to all fields it can. What you do with it in clientside javascript is up to you:

  • Provide button to revert fields back to canonical field configuration specified system default value after clientside user changes
  • Make one of those focus/hide, blur/reshow placeholder-like functions
  • ..Ignore it and be no worse for the wear..

Bulk Select

Component type

module

Categories

Maintenance status

Development status

Downloads

227

Component created

Component changed

Bulk Select provides both a Form API Element and a Field API Widget with nested checkboxes. If you need a select element with the following features...

  • Multiple select
  • Hierarchical structure
  • Only lowest-level elements selected
  • Collapsible hierarchy to save space
  • Quick, intuitive interface
  • Graceful degradation when JavaScript is not available

...then this might be the module for you.

Included in this package is a demo module which is an example of how to:

Field tokens

Component type

module

Maintenance status

Development status

Downloads

13211

Component created

Component changed

The Field tokens module add two additional types of field tokens; Formatted fields and field properties.

 

Formatted field tokens

Formatted Field tokens are tokens allowing one or many field values to be rendered via the default or specified field formatter.

The format is:
[PREFIX:DELTA(S):FORMATTER:FORMATTER_SETTING_KEY-FORMATTER_SETTING_VALUE:...]

(e.g. [node:field_image-formatted:0,1:image:image_style-thumbnail]).

 

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).