function flag_lists_theme in Flag Lists 7
Same name and namespace in other branches
- 8 flag_lists.module \flag_lists_theme()
 - 6 flag_lists.module \flag_lists_theme()
 - 7.3 flag_lists.module \flag_lists_theme()
 - 4.0.x flag_lists.module \flag_lists_theme()
 
Implementation of hook_theme().
File
- ./
flag_lists.module, line 231  - The Flag Lists module.
 
Code
function flag_lists_theme() {
  $path = drupal_get_path('module', 'flag') . '/theme';
  return array(
    'flag_lists_list' => array(
      'variables' => array(
        'node' => NULL,
        'create' => NULL,
        'ops' => NULL,
        'use_flags' => NULL,
      ),
    ),
    'flag_lists_admin_page' => array(
      'variables' => array(
        'flags' => NULL,
      ),
    ),
    'flag_lists_user_page' => array(
      'variables' => array(
        'uid' => NULL,
      ),
    ),
    'flag_lists_user_list' => array(
      'variables' => array(
        'flag_name' => NULL,
      ),
    ),
    'flag_lists_ops' => array(
      'variables' => array(
        'flag' => NULL,
      ),
    ),
  );
}