/[drupal]/contributions/modules/topichubs/plugins/topichubs_most_recent/topichubs_most_recent.module
ViewVC logotype

Diff of /contributions/modules/topichubs/plugins/topichubs_most_recent/topichubs_most_recent.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Tue Mar 3 23:51:06 2009 UTC revision 1.1.2.1, Wed Sep 2 12:00:21 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  //$Id$  //$Id: topichubs_most_recent.module,v 1.1 2009/03/03 23:51:06 febbraro Exp $
3    
4  /**  /**
5   * Implementation of hook_topichubs_plugins().   * Implementation of hook_topichubs_plugins().
6   */   */
7  function topichubs_most_recent_topichubs_plugins() {  function topichubs_most_recent_topichubs_plugins() {
8    return array(    return array(
9      'most_recent' => array(      'most_recent' => array(
10        'title' => 'Most Recent',        'title' => 'Most Recent',
11        'description' => 'Most Recent Nodes for the Topic Hub.',        'description' => 'Most Recent Nodes for the Topic Hub.',
12        'handler' => 'topichubs_plugin_most_recent',        'handler' => 'topichubs_plugin_most_recent',
13      ),      ),
14    );    );
15  }  }
16    
17  /**  /**
18   * Declare the views version we support (and provide views)   * Declare the views version we support (and provide views)
19   */   */
20  function topichubs_most_recent_views_api() {  function topichubs_most_recent_views_api() {
21    return array('api' => 2.0);    return array('api' => 2.0);
22  }  }
23    
24  /**  /**
25   * override the template that the view is using for our included view   * override the template that the view is using for our included view
26   */   */
27  function topichubs_most_recent_theme() {  function topichubs_most_recent_theme() {
28    return array(    return array(
29      'views_view_fields__topichub_most_recent' => array(      'views_view_fields__topichub_most_recent' => array(
30        'arguments' => array('view' => NULL, 'options' => NULL, 'row'=> NULL),        'arguments' => array('view' => NULL, 'options' => NULL, 'row'=> NULL),
31        'template' => 'views-view-fields--topichub-most-recent',        'template' => 'views-view-fields--topichub-most-recent',
32        'original hook' => 'views_view_fields'        'original hook' => 'views_view_fields'
33      ),      ),
34    );    );
35  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

  ViewVC Help
Powered by ViewVC 1.1.2