You are here

function follow_icon_style_options in Follow 7.2

Return an array of icon style options, with the key being the machine name of the style, and the value being the label of the style.

1 call to follow_icon_style_options()
follow_block_configure in ./follow.module
Implements hook_block_configure().

File

./follow.inc, line 509
Follow module API and helper functions.

Code

function follow_icon_style_options() {
  $options = array();
  foreach (follow_icon_styles() as $style) {
    if (!isset($style['name']) || !isset($style['label'])) {
      continue;
    }
    $options[$style['name']] = $style['label'];
  }
  return $options;
}