You are here

function template_preprocess_entity_pager in Entity Pager 7

Same name and namespace in other branches
  1. 8 entity_pager.module \template_preprocess_entity_pager()
  2. 2.0.x entity_pager.module \template_preprocess_entity_pager()

Implements template_preprocess_hook().

Added a minimalistic amount of CSS to the page to style Entity Page. A minimalistic amount of CSS has deliberately only been added so it is easy to override the CSS in the theme layer.

Parameters

array $variables: An associative array of $variables passed into template.

File

./entity_pager.module, line 67
This module allows you to add Pager blocks to navigate through entities.

Code

function template_preprocess_entity_pager(array &$variables) {
  drupal_add_css(drupal_get_path('module', 'entity_pager') . '/css/entity_pager.css');
}