You are here

function flag_theme in Flag 6

Same name and namespace in other branches
  1. 8.4 flag.module \flag_theme()
  2. 6.2 flag.module \flag_theme()
  3. 7.3 flag.module \flag_theme()
  4. 7.2 flag.module \flag_theme()

Implementation of hook_theme().

File

./flag.module, line 642

Code

function flag_theme() {
  $path = drupal_get_path('module', 'flag') . '/theme';
  return array(
    'flag' => array(
      'arguments' => array(
        'flag' => NULL,
        'action' => NULL,
        'content_id' => NULL,
        'after_flagging' => FALSE,
      ),
      'template' => 'flag',
      'pattern' => 'flag__',
      'path' => $path,
    ),
    'flag_token_help' => array(
      'arguments' => array(
        'types' => NULL,
        'prefix' => NULL,
        'suffix' => NULL,
      ),
    ),
    'flag_admin_page' => array(
      'arguments' => array(
        'flags' => NULL,
        'default_flags' => NULL,
      ),
    ),
    'flag_rules_radios' => array(
      'arguments' => array(),
    ),
  );
}