You are here

function masonry_views_views_plugins in Masonry Views 7

Same name and namespace in other branches
  1. 7.3 masonry_views.views.inc \masonry_views_views_plugins()

Implements hook_views_plugins().

File

./masonry_views.views.inc, line 10
Provide views data and handlers for masonry_views.module.

Code

function masonry_views_views_plugins() {
  return array(
    'style' => array(
      'masonry_views' => array(
        'title' => t('Masonry'),
        'handler' => 'views_plugin_style_masonry_views',
        'uses options' => TRUE,
        'help' => t("Display content in a Masonry layout."),
        'theme' => 'views_view_masonry',
        'type' => 'normal',
        'uses row plugin' => TRUE,
        'uses row class' => TRUE,
        'uses grouping' => FALSE,
      ),
    ),
  );
}