You are here

function readmore_theme in Readmore 7

Same name and namespace in other branches
  1. 8 readmore.module \readmore_theme()
  2. 2.x readmore.module \readmore_theme()

Implements hook_theme().

File

./readmore.module, line 15
Basic functional for readmore module.

Code

function readmore_theme() {
  $base = array(
    'path' => READMORE_MODULE_PATH . '/theme',
  );
  return array(
    'readmore' => array(
      'variables' => array(
        'summary' => NULL,
        'other' => NULL,
        'ellips' => NULL,
      ),
      'template' => 'readmore',
    ) + $base,
  );
}