You are here

function _royalslider_skins in RoyalSlider Integration 7

Return an array of RoyalSlider Skins. It's used to populate select form items.

Return value

array An array of skin names, keyed by machine name.

3 calls to _royalslider_skins()
royalslider_field_formatter_settings_form in ./royalslider.module
Implements hook_field_formatter_settings_form().
royalslider_field_formatter_settings_summary in ./royalslider.module
Implements hook_field_formatter_settings_summary().
views_slideshow_royalslider_views_slideshow_slideshow_type_form in contrib/views_slideshow_royalslider/views_slideshow_royalslider.views_slideshow.inc
Implements hook_views_slideshow_options_form().

File

./royalslider.module, line 758
RoyalSlider module.

Code

function _royalslider_skins() {
  $skins = array(
    '' => t('Use Option Set skin'),
  );
  foreach (royalslider_skins() as $name => $info) {
    $skins[$name] = $info['name'];
  }
  return $skins;
}