You are here

function template_preprocess_featured_content_empty in Featured Content 6

Same name and namespace in other branches
  1. 6.2 featured_content.module \template_preprocess_featured_content_empty()
  2. 7.2 featured_content.module \template_preprocess_featured_content_empty()
  3. 7 featured_content.module \template_preprocess_featured_content_empty()

Process variables for featured_content-empty.tpl.php.

See also

featured_content-empty.tpl.php

File

./featured_content.module, line 124
Featured Content module for created related & featured content blocks.

Code

function template_preprocess_featured_content_empty(&$variables) {
  $variables['block_classes_array'][] = 'featured-content-block-' . $variables['block_settings']['delta'];
  $variables['block_classes_array'][] = 'featured-content-block-' . $variables['block_settings']['type'];
  $variables['block_classes'] = check_plain(implode(' ', $variables['block_classes_array']));
  $variables['template_files'][] = 'featured_content-empty-' . $variables['id'];
  $variables['template_files'][] = 'featured_content-empty-' . $variables['block_settings']['type'];
}