You are here

function mixitup_views_set_nodes_count in MixItUp Views 7

Set nodes count for mixitup views.

Parameters

int $count: Number of nodes.

Return value

int $nodes_count Nodes count.

1 call to mixitup_views_set_nodes_count()
template_preprocess_views_view_mixitup in ./mixitup_views.module
Preprocess function for views_view_mixitup.tpl.php.
1 string reference to 'mixitup_views_set_nodes_count'
mixitup_views_filter_terms in ./mixitup_views.module
Unset unneeded terms.

File

./mixitup_views.module, line 327
Provides a Views style plugin for displaying content with Mixitup filtering.

Code

function mixitup_views_set_nodes_count($count) {
  $nodes_count =& drupal_static(__FUNCTION__);
  $nodes_count = $count;
  return $nodes_count;
}