You are here

function hook_icon_wrapper_options_alter in Icon API 7

Same name and namespace in other branches
  1. 8 icon.api.php \hook_icon_wrapper_options_alter()

Allows modules and themes to alter the list of permitted icon wrappers.

Parameters

array $options: An associative array of key/value pairs, where the wrapper HTML element is the key and an human readable label is the value.

File

./icon.api.php, line 283
icon.api.php Hooks and form elements provided by the Icon API module.

Code

function hook_icon_wrapper_options_alter(&$options) {
  unset($options['div']);
  $options['section'] = 'Section';
}