fields

Powered by Drupal
By rprice , 10 March 2016

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.

By rprice , 10 March 2016

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.

By rprice , 10 March 2016

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.

By rprice , 19 March 2015

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.