You are here

function recommender_views_plugins_alter in Recommender API 6.2

Implementation of hook_views_plugins_alter(). Allow recommender tables to use the node view row style

See also

recommender_views_query_alter()

File

./recommender.views.inc, line 280
recommender.views.inc Views support for recommender tables Initially contributed by JoeMcGuire at Drupal.org. Thanks!

Code

function recommender_views_plugins_alter(&$plugins) {

  // Add recommender modules to the base of the node row plugin.
  $plugins['row']['node']['base'][] = 'recommender_similarity';
  $plugins['row']['node']['base'][] = 'recommender_prediction';
}