You are here

function user_relationship_blocks_theme in User Relationships 7

Same name and namespace in other branches
  1. 6 user_relationship_blocks/user_relationship_blocks.module \user_relationship_blocks_theme()

Implementation for hook_theme

File

user_relationship_blocks/user_relationship_blocks.module, line 31
User Relationship Blocks implementation @author Jeff Smick (creator) @author Alex Karshakevich (maintainer) http://drupal.org/user/183217

Code

function user_relationship_blocks_theme() {
  return array(
    'user_relationship_block_subject' => array(
      'variables' => array(
        'account' => NULL,
        'rtid' => NULL,
        'extra' => NULL,
      ),
    ),
    'user_relationships_block' => array(
      'variables' => array(
        'account' => NULL,
        'settings' => NULL,
        'extra' => NULL,
      ),
      'path' => drupal_get_path('module', 'user_relationship_blocks') . '/templates',
      'template' => 'user_relationships-block',
    ),
    'user_relationships_pending_block' => array(
      'variables' => array(
        'account' => NULL,
        'settings' => NULL,
      ),
      'path' => drupal_get_path('module', 'user_relationship_blocks') . '/templates',
      'template' => 'user_relationships-pending_block',
    ),
    'user_relationships_actions_block' => array(
      'variables' => array(
        'account' => NULL,
        'settings' => NULL,
      ),
      'path' => drupal_get_path('module', 'user_relationship_blocks') . '/templates',
      'template' => 'user_relationships-actions_block',
    ),
  );
}