views_infinite_scroll.module in Views Infinite Scroll 7
File
views_infinite_scroll.module
View source
<?php
function views_infinite_scroll_views_api() {
return array(
'api' => '3.0-alpha1',
);
}
function views_infinite_scroll_theme() {
$path = drupal_get_path('module', 'views_infinite_scroll');
$base = array(
'file' => 'views_infinite_scroll_theme.inc',
'path' => "{$path}/theme",
);
$hooks['views_infinite_scroll_pager'] = $base + array(
'variables' => array(
'tags' => array(),
'limit' => 10,
'element' => 0,
'parameters' => array(),
),
'pattern' => 'views_infinite_scroll_pager__',
);
return $hooks;
}