You are here

function hook_icon_wrapper_options_alter in Icon API 8

Same name and namespace in other branches
  1. 7 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 287
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';
}