You are here

function slick_get_inline_css in Slick Carousel 7.2

Builds the inline CSS output for skins if provided.

1 call to slick_get_inline_css()
slick_fields_field_formatter_view in slick_fields/slick_fields.module
Implements hook_field_formatter_view().

File

includes/slick.global.inc, line 335
Global functions across Slick field formatters and Views.

Code

function slick_get_inline_css(array &$settings, array &$items) {
  $css = $settings['inline_css'];
  $css = implode("\n", $css);
  drupal_alter('slick_inline_css_info', $css, $items, $settings);
  return array(
    'data' => $css,
    'type' => 'inline',
    'group' => CSS_THEME + 1,
    'slick' => 'fields',
  );
}