Commanding Chaos for Coworking, Open Source and Creative Communities

fields

Options Element | Drupal.org

Thu, 03/10/2016 - 13:22 -- rprice

Options Element is a module that provides a better mechanism to specify select list, checkbox, and radio button options. Rather than requiring the user to use strange syntax like "key|value" in a textarea, Options Element provides a clean interface for specifying options. Developers may use $element['#type'] = 'options' in their own modules. If JavaScript is disabled, any 'options_element' will degrade to the standard textarea for specifying options.

drupaleasypodcast
modules
site_building
entity
fields
ux

Options Element | Drupal.org

Thu, 03/10/2016 - 13:22 -- rprice

Options Element is a module that provides a better mechanism to specify select list, checkbox, and radio button options. Rather than requiring the user to use strange syntax like "key|value" in a textarea, Options Element provides a clean interface for specifying options. Developers may use $element['#type'] = 'options' in their own modules. If JavaScript is disabled, any 'options_element' will degrade to the standard textarea for specifying options.

drupaleasypodcast
modules
site_building
entity
fields
ux

Options Element | Drupal.org

Thu, 03/10/2016 - 13:22 -- rprice

Options Element is a module that provides a better mechanism to specify select list, checkbox, and radio button options. Rather than requiring the user to use strange syntax like "key|value" in a textarea, Options Element provides a clean interface for specifying options. Developers may use $element['#type'] = 'options' in their own modules. If JavaScript is disabled, any 'options_element' will degrade to the standard textarea for specifying options.

drupaleasypodcast
modules
site_building
entity
fields
ux

Creating Custom Field Formatters in Drupal 8

Thu, 03/19/2015 - 05:11 -- rprice

In this article we’ve seen how easy it is to create a field formatter and extend default behaviour in Drupal 8. We’ve only touched on overriding the viewElements() of this plugin but we can do much more to further customise things. You are also not required to extend the ImageFormatter. There are plenty of existing plugins you can either extend from or use as an example.

drupaleasypodcast
drupal8
fields
tutorial

Pages

Subscribe to RSS - fields