You are here

function template_preprocess_ddblock_cycle_pager_content in Dynamic display block 7

Same name and namespace in other branches
  1. 6 ddblock.module \template_preprocess_ddblock_cycle_pager_content()

Override or insert variables into the ddblock_cycle_pager_content templates.

Parameters

$vars: An array of variables to pass to the theme template.

File

./ddblock.module, line 2072
Enables your site to display dynamic content in a block.

Code

function template_preprocess_ddblock_cycle_pager_content(&$vars) {
  $vars['ddblock_cycle_pager_settings'] = $vars['pager_settings'];

  // additional candidate template files
  $vars['theme_hook_suggestions'][] = 'ddblock_cycle_pager_content__' . $vars['pager_settings']['template'];
  $vars['theme_hook_suggestions'][] = 'ddblock_cycle_pager_content__' . $vars['pager_settings']['delta'];
}