8ac59801be
Update commons modules to release 7.12, and move the codebase under modules/commons instead of constant fetching from remote repository. The commons.make file removed so it is not required to rebuild groups distribution. Change-Id: I3be393ba1af34427e2915b18ab1ad718fd4e54db
1387 lines
70 KiB
PHP
1387 lines
70 KiB
PHP
<?php
|
||
/**
|
||
* @file
|
||
* commons_groups.views_default.inc
|
||
*/
|
||
|
||
/**
|
||
* Implements hook_views_default_views().
|
||
*/
|
||
function commons_groups_views_default_views() {
|
||
$export = array();
|
||
|
||
$view = new view();
|
||
$view->name = 'commons_bw_all';
|
||
$view->description = 'Commons all content listing for the group browsing widget.';
|
||
$view->tag = 'Commons Browsing Widget';
|
||
$view->base_table = 'node';
|
||
$view->human_name = 'Commons Browsing Widget - All';
|
||
$view->core = 7;
|
||
$view->api_version = '3.0';
|
||
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
|
||
|
||
/* Display: Master */
|
||
$handler = $view->new_display('default', 'Master', 'default');
|
||
$handler->display->display_options['use_ajax'] = TRUE;
|
||
$handler->display->display_options['use_more_always'] = FALSE;
|
||
$handler->display->display_options['access']['type'] = 'perm';
|
||
$handler->display->display_options['cache']['type'] = 'none';
|
||
$handler->display->display_options['query']['type'] = 'views_query';
|
||
$handler->display->display_options['query']['options']['query_comment'] = FALSE;
|
||
$handler->display->display_options['exposed_form']['type'] = 'basic';
|
||
$handler->display->display_options['pager']['type'] = 'lite';
|
||
$handler->display->display_options['pager']['options']['items_per_page'] = '10';
|
||
$handler->display->display_options['pager']['options']['offset'] = '0';
|
||
$handler->display->display_options['pager']['options']['id'] = '1';
|
||
$handler->display->display_options['pager']['options']['quantity'] = '9';
|
||
$handler->display->display_options['style_plugin'] = 'default';
|
||
$handler->display->display_options['row_plugin'] = 'node';
|
||
/* Header: Global: Node partial form */
|
||
$handler->display->display_options['header']['commons_bw_node_partial_form']['id'] = 'commons_bw_node_partial_form';
|
||
$handler->display->display_options['header']['commons_bw_node_partial_form']['table'] = 'views';
|
||
$handler->display->display_options['header']['commons_bw_node_partial_form']['field'] = 'commons_bw_node_partial_form';
|
||
$handler->display->display_options['header']['commons_bw_node_partial_form']['bundle'] = 'post';
|
||
/* No results behavior: Global: Text area */
|
||
$handler->display->display_options['empty']['area']['id'] = 'area';
|
||
$handler->display->display_options['empty']['area']['table'] = 'views';
|
||
$handler->display->display_options['empty']['area']['field'] = 'area';
|
||
$handler->display->display_options['empty']['area']['empty'] = TRUE;
|
||
$handler->display->display_options['empty']['area']['content'] = 'Nobody has posted into this group yet.';
|
||
$handler->display->display_options['empty']['area']['format'] = 'filtered_html';
|
||
/* Relationship: OG membership: OG membership from Node */
|
||
$handler->display->display_options['relationships']['og_membership_rel']['id'] = 'og_membership_rel';
|
||
$handler->display->display_options['relationships']['og_membership_rel']['table'] = 'node';
|
||
$handler->display->display_options['relationships']['og_membership_rel']['field'] = 'og_membership_rel';
|
||
$handler->display->display_options['relationships']['og_membership_rel']['required'] = TRUE;
|
||
/* Field: Content: Title */
|
||
$handler->display->display_options['fields']['title']['id'] = 'title';
|
||
$handler->display->display_options['fields']['title']['table'] = 'node';
|
||
$handler->display->display_options['fields']['title']['field'] = 'title';
|
||
$handler->display->display_options['fields']['title']['label'] = '';
|
||
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
|
||
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
|
||
/* Sort criterion: Content: Sticky */
|
||
$handler->display->display_options['sorts']['sticky']['id'] = 'sticky';
|
||
$handler->display->display_options['sorts']['sticky']['table'] = 'node';
|
||
$handler->display->display_options['sorts']['sticky']['field'] = 'sticky';
|
||
$handler->display->display_options['sorts']['sticky']['order'] = 'DESC';
|
||
/* Sort criterion: Content: Post date */
|
||
$handler->display->display_options['sorts']['created']['id'] = 'created';
|
||
$handler->display->display_options['sorts']['created']['table'] = 'node';
|
||
$handler->display->display_options['sorts']['created']['field'] = 'created';
|
||
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
|
||
$handler->display->display_options['sorts']['created']['exposed'] = TRUE;
|
||
$handler->display->display_options['sorts']['created']['expose']['label'] = 'most recent';
|
||
/* Contextual filter: OG membership: Group ID */
|
||
$handler->display->display_options['arguments']['gid']['id'] = 'gid';
|
||
$handler->display->display_options['arguments']['gid']['table'] = 'og_membership';
|
||
$handler->display->display_options['arguments']['gid']['field'] = 'gid';
|
||
$handler->display->display_options['arguments']['gid']['relationship'] = 'og_membership_rel';
|
||
$handler->display->display_options['arguments']['gid']['default_argument_type'] = 'fixed';
|
||
$handler->display->display_options['arguments']['gid']['summary']['number_of_records'] = '0';
|
||
$handler->display->display_options['arguments']['gid']['summary']['format'] = 'default_summary';
|
||
$handler->display->display_options['arguments']['gid']['summary_options']['items_per_page'] = '25';
|
||
$handler->display->display_options['arguments']['gid']['specify_validation'] = TRUE;
|
||
$handler->display->display_options['arguments']['gid']['validate']['type'] = 'og';
|
||
/* Filter criterion: Content: Published */
|
||
$handler->display->display_options['filters']['status']['id'] = 'status';
|
||
$handler->display->display_options['filters']['status']['table'] = 'node';
|
||
$handler->display->display_options['filters']['status']['field'] = 'status';
|
||
$handler->display->display_options['filters']['status']['value'] = 1;
|
||
$handler->display->display_options['filters']['status']['group'] = 1;
|
||
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
|
||
/* Filter criterion: Content: Type */
|
||
$handler->display->display_options['filters']['type']['id'] = 'type';
|
||
$handler->display->display_options['filters']['type']['table'] = 'node';
|
||
$handler->display->display_options['filters']['type']['field'] = 'type';
|
||
$handler->display->display_options['filters']['type']['value'] = array();
|
||
/* Filter criterion: OG membership: Group_type */
|
||
$handler->display->display_options['filters']['group_type']['id'] = 'group_type';
|
||
$handler->display->display_options['filters']['group_type']['table'] = 'og_membership';
|
||
$handler->display->display_options['filters']['group_type']['field'] = 'group_type';
|
||
$handler->display->display_options['filters']['group_type']['relationship'] = 'og_membership_rel';
|
||
$handler->display->display_options['filters']['group_type']['value'] = array(
|
||
'node' => 'node',
|
||
);
|
||
$translatables['commons_bw_all'] = array(
|
||
t('Master'),
|
||
t('more'),
|
||
t('Apply'),
|
||
t('Reset'),
|
||
t('Sort by'),
|
||
t('Asc'),
|
||
t('Desc'),
|
||
t('Items per page'),
|
||
t('- All -'),
|
||
t('Offset'),
|
||
t('« first'),
|
||
t('‹ previous'),
|
||
t('next ›'),
|
||
t('last »'),
|
||
t('Nobody has posted into this group yet.'),
|
||
t('OG membership from node'),
|
||
t('following'),
|
||
t('most recent'),
|
||
t('most active'),
|
||
t('All'),
|
||
t('Following'),
|
||
);
|
||
$export['commons_bw_all'] = $view;
|
||
|
||
$view = new view();
|
||
$view->name = 'commons_contributors_group';
|
||
$view->description = '';
|
||
$view->tag = 'default';
|
||
$view->base_table = 'users';
|
||
$view->human_name = 'Commons Contributors - Group';
|
||
$view->core = 7;
|
||
$view->api_version = '3.0';
|
||
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
|
||
|
||
/* Display: Master */
|
||
$handler = $view->new_display('default', 'Master', 'default');
|
||
$handler->display->display_options['title'] = 'Group contributors';
|
||
$handler->display->display_options['use_more'] = TRUE;
|
||
$handler->display->display_options['use_more_always'] = FALSE;
|
||
$handler->display->display_options['access']['type'] = 'perm';
|
||
$handler->display->display_options['access']['perm'] = 'access user profiles';
|
||
$handler->display->display_options['cache']['type'] = 'none';
|
||
$handler->display->display_options['query']['type'] = 'views_query';
|
||
$handler->display->display_options['query']['options']['distinct'] = TRUE;
|
||
$handler->display->display_options['exposed_form']['type'] = 'basic';
|
||
$handler->display->display_options['pager']['type'] = 'some';
|
||
$handler->display->display_options['pager']['options']['items_per_page'] = '16';
|
||
$handler->display->display_options['pager']['options']['offset'] = '0';
|
||
$handler->display->display_options['style_plugin'] = 'grid';
|
||
$handler->display->display_options['style_options']['columns'] = '7';
|
||
$handler->display->display_options['row_plugin'] = 'fields';
|
||
/* Relationship: OG membership: OG membership from User */
|
||
$handler->display->display_options['relationships']['og_membership_rel']['id'] = 'og_membership_rel';
|
||
$handler->display->display_options['relationships']['og_membership_rel']['table'] = 'users';
|
||
$handler->display->display_options['relationships']['og_membership_rel']['field'] = 'og_membership_rel';
|
||
$handler->display->display_options['relationships']['og_membership_rel']['required'] = TRUE;
|
||
/* Field: User: Picture */
|
||
$handler->display->display_options['fields']['picture']['id'] = 'picture';
|
||
$handler->display->display_options['fields']['picture']['table'] = 'users';
|
||
$handler->display->display_options['fields']['picture']['field'] = 'picture';
|
||
$handler->display->display_options['fields']['picture']['label'] = '';
|
||
$handler->display->display_options['fields']['picture']['element_label_colon'] = FALSE;
|
||
/* Sort criterion: User: Created date */
|
||
$handler->display->display_options['sorts']['created']['id'] = 'created';
|
||
$handler->display->display_options['sorts']['created']['table'] = 'users';
|
||
$handler->display->display_options['sorts']['created']['field'] = 'created';
|
||
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
|
||
/* Contextual filter: OG membership: Group ID */
|
||
$handler->display->display_options['arguments']['gid']['id'] = 'gid';
|
||
$handler->display->display_options['arguments']['gid']['table'] = 'og_membership';
|
||
$handler->display->display_options['arguments']['gid']['field'] = 'gid';
|
||
$handler->display->display_options['arguments']['gid']['relationship'] = 'og_membership_rel';
|
||
$handler->display->display_options['arguments']['gid']['default_argument_type'] = 'fixed';
|
||
$handler->display->display_options['arguments']['gid']['summary']['number_of_records'] = '0';
|
||
$handler->display->display_options['arguments']['gid']['summary']['format'] = 'default_summary';
|
||
$handler->display->display_options['arguments']['gid']['summary_options']['items_per_page'] = '25';
|
||
$handler->display->display_options['arguments']['gid']['specify_validation'] = TRUE;
|
||
$handler->display->display_options['arguments']['gid']['validate']['type'] = 'og';
|
||
/* Filter criterion: User: Active */
|
||
$handler->display->display_options['filters']['status']['id'] = 'status';
|
||
$handler->display->display_options['filters']['status']['table'] = 'users';
|
||
$handler->display->display_options['filters']['status']['field'] = 'status';
|
||
$handler->display->display_options['filters']['status']['value'] = '1';
|
||
$handler->display->display_options['filters']['status']['group'] = 1;
|
||
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
|
||
/* Filter criterion: OG membership: State */
|
||
$handler->display->display_options['filters']['state']['id'] = 'state';
|
||
$handler->display->display_options['filters']['state']['table'] = 'og_membership';
|
||
$handler->display->display_options['filters']['state']['field'] = 'state';
|
||
$handler->display->display_options['filters']['state']['relationship'] = 'og_membership_rel';
|
||
$handler->display->display_options['filters']['state']['value'] = array(
|
||
1 => '1',
|
||
);
|
||
/* Filter criterion: OG membership: Group_type */
|
||
$handler->display->display_options['filters']['group_type']['id'] = 'group_type';
|
||
$handler->display->display_options['filters']['group_type']['table'] = 'og_membership';
|
||
$handler->display->display_options['filters']['group_type']['field'] = 'group_type';
|
||
$handler->display->display_options['filters']['group_type']['relationship'] = 'og_membership_rel';
|
||
$handler->display->display_options['filters']['group_type']['value'] = array(
|
||
'node' => 'node',
|
||
);
|
||
|
||
/* Display: group teaser */
|
||
$handler = $view->new_display('panel_pane', 'group teaser', 'panel_pane_1');
|
||
$handler->display->display_options['defaults']['title'] = FALSE;
|
||
$handler->display->display_options['title'] = 'Recent contributors';
|
||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||
$handler->display->display_options['defaults']['pager'] = FALSE;
|
||
$handler->display->display_options['pager']['type'] = 'some';
|
||
$handler->display->display_options['pager']['options']['items_per_page'] = '14';
|
||
$handler->display->display_options['pager']['options']['offset'] = '0';
|
||
$handler->display->display_options['defaults']['fields'] = FALSE;
|
||
/* Field: User: Name */
|
||
$handler->display->display_options['fields']['name']['id'] = 'name';
|
||
$handler->display->display_options['fields']['name']['table'] = 'users';
|
||
$handler->display->display_options['fields']['name']['field'] = 'name';
|
||
$handler->display->display_options['fields']['name']['label'] = '';
|
||
$handler->display->display_options['fields']['name']['exclude'] = TRUE;
|
||
$handler->display->display_options['fields']['name']['element_label_colon'] = FALSE;
|
||
$handler->display->display_options['fields']['name']['link_to_user'] = FALSE;
|
||
/* Field: User: Picture */
|
||
$handler->display->display_options['fields']['picture']['id'] = 'picture';
|
||
$handler->display->display_options['fields']['picture']['table'] = 'users';
|
||
$handler->display->display_options['fields']['picture']['field'] = 'picture';
|
||
$handler->display->display_options['fields']['picture']['label'] = '';
|
||
$handler->display->display_options['fields']['picture']['exclude'] = TRUE;
|
||
$handler->display->display_options['fields']['picture']['alter']['text'] = '[picture]<span>[name]</span>';
|
||
$handler->display->display_options['fields']['picture']['element_label_colon'] = FALSE;
|
||
$handler->display->display_options['fields']['picture']['link_photo_to_profile'] = FALSE;
|
||
$handler->display->display_options['fields']['picture']['image_style'] = '35x35';
|
||
/* Field: User: Uid */
|
||
$handler->display->display_options['fields']['uid']['id'] = 'uid';
|
||
$handler->display->display_options['fields']['uid']['table'] = 'users';
|
||
$handler->display->display_options['fields']['uid']['field'] = 'uid';
|
||
$handler->display->display_options['fields']['uid']['label'] = '';
|
||
$handler->display->display_options['fields']['uid']['exclude'] = TRUE;
|
||
$handler->display->display_options['fields']['uid']['element_label_colon'] = FALSE;
|
||
$handler->display->display_options['fields']['uid']['link_to_user'] = FALSE;
|
||
/* Field: Global: Custom text */
|
||
$handler->display->display_options['fields']['nothing']['id'] = 'nothing';
|
||
$handler->display->display_options['fields']['nothing']['table'] = 'views';
|
||
$handler->display->display_options['fields']['nothing']['field'] = 'nothing';
|
||
$handler->display->display_options['fields']['nothing']['label'] = '';
|
||
$handler->display->display_options['fields']['nothing']['alter']['text'] = '[picture]<span>[name]</span>';
|
||
$handler->display->display_options['fields']['nothing']['alter']['make_link'] = TRUE;
|
||
$handler->display->display_options['fields']['nothing']['alter']['path'] = 'user/[uid]';
|
||
$handler->display->display_options['fields']['nothing']['alter']['absolute'] = TRUE;
|
||
$handler->display->display_options['fields']['nothing']['element_label_colon'] = FALSE;
|
||
$handler->display->display_options['argument_input'] = array(
|
||
'gid' => array(
|
||
'type' => 'context',
|
||
'context' => 'entity:node.nid',
|
||
'context_optional' => 0,
|
||
'panel' => '0',
|
||
'fixed' => '',
|
||
'label' => 'OG membership: Group ID',
|
||
),
|
||
);
|
||
|
||
/* Display: group homepage */
|
||
$handler = $view->new_display('panel_pane', 'group homepage', 'panel_pane_2');
|
||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
|
||
$handler->display->display_options['style_plugin'] = 'grid';
|
||
$handler->display->display_options['style_options']['grouping'] = array(
|
||
0 => array(
|
||
'field' => 'og_roles',
|
||
'rendered' => 1,
|
||
'rendered_strip' => 0,
|
||
),
|
||
);
|
||
$handler->display->display_options['defaults']['style_options'] = FALSE;
|
||
$handler->display->display_options['defaults']['row_plugin'] = FALSE;
|
||
$handler->display->display_options['row_plugin'] = 'fields';
|
||
$handler->display->display_options['defaults']['row_options'] = FALSE;
|
||
$handler->display->display_options['defaults']['fields'] = FALSE;
|
||
/* Field: User: Picture */
|
||
$handler->display->display_options['fields']['picture']['id'] = 'picture';
|
||
$handler->display->display_options['fields']['picture']['table'] = 'users';
|
||
$handler->display->display_options['fields']['picture']['field'] = 'picture';
|
||
$handler->display->display_options['fields']['picture']['label'] = '';
|
||
$handler->display->display_options['fields']['picture']['element_label_colon'] = FALSE;
|
||
$handler->display->display_options['fields']['picture']['image_style'] = '50x50';
|
||
/* Field: OG membership: OG user roles in group */
|
||
$handler->display->display_options['fields']['og_roles']['id'] = 'og_roles';
|
||
$handler->display->display_options['fields']['og_roles']['table'] = 'og_membership';
|
||
$handler->display->display_options['fields']['og_roles']['field'] = 'og_roles';
|
||
$handler->display->display_options['fields']['og_roles']['relationship'] = 'og_membership_rel';
|
||
$handler->display->display_options['fields']['og_roles']['label'] = '';
|
||
$handler->display->display_options['fields']['og_roles']['exclude'] = TRUE;
|
||
$handler->display->display_options['fields']['og_roles']['element_label_colon'] = FALSE;
|
||
$handler->display->display_options['fields']['og_roles']['empty'] = 'Contributors';
|
||
$handler->display->display_options['argument_input'] = array(
|
||
'gid' => array(
|
||
'type' => 'context',
|
||
'context' => 'entity:node.nid',
|
||
'context_optional' => 0,
|
||
'panel' => '0',
|
||
'fixed' => '',
|
||
'label' => 'OG membership: Group ID',
|
||
),
|
||
);
|
||
|
||
/* Display: Page */
|
||
$handler = $view->new_display('page', 'Page', 'page_1');
|
||
$handler->display->display_options['defaults']['title'] = FALSE;
|
||
$handler->display->display_options['title'] = 'Contributors to %1';
|
||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||
$handler->display->display_options['path'] = 'node/%/contributors';
|
||
$translatables['commons_contributors_group'] = array(
|
||
t('Master'),
|
||
t('Group contributors'),
|
||
t('more'),
|
||
t('Apply'),
|
||
t('Reset'),
|
||
t('Sort by'),
|
||
t('Asc'),
|
||
t('Desc'),
|
||
t('OG membership from user'),
|
||
t('All'),
|
||
t('group teaser'),
|
||
t('Recent contributors'),
|
||
t('[picture]<span>[name]</span>'),
|
||
t('View panes'),
|
||
t('group homepage'),
|
||
t('Contributors'),
|
||
t('Page'),
|
||
t('Contributors to %1'),
|
||
);
|
||
$export['commons_contributors_group'] = $view;
|
||
|
||
$view = new view();
|
||
$view->name = 'commons_group_moderation';
|
||
$view->description = '';
|
||
$view->tag = 'default';
|
||
$view->base_table = 'node';
|
||
$view->human_name = 'Commons Group Moderation';
|
||
$view->core = 7;
|
||
$view->api_version = '3.0';
|
||
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
|
||
|
||
/* Display: Master */
|
||
$handler = $view->new_display('default', 'Master', 'default');
|
||
$handler->display->display_options['title'] = 'Commons Group Moderation';
|
||
$handler->display->display_options['use_more_always'] = FALSE;
|
||
$handler->display->display_options['access']['type'] = 'perm';
|
||
$handler->display->display_options['access']['perm'] = 'edit any group content';
|
||
$handler->display->display_options['cache']['type'] = 'none';
|
||
$handler->display->display_options['query']['type'] = 'views_query';
|
||
$handler->display->display_options['exposed_form']['type'] = 'basic';
|
||
$handler->display->display_options['pager']['type'] = 'full';
|
||
$handler->display->display_options['pager']['options']['items_per_page'] = '25';
|
||
$handler->display->display_options['style_plugin'] = 'table';
|
||
$handler->display->display_options['style_options']['columns'] = array(
|
||
'views_bulk_operations' => 'views_bulk_operations',
|
||
'title' => 'title',
|
||
'name' => 'name',
|
||
'changed' => 'changed',
|
||
'edit_node' => 'edit_node',
|
||
'delete_node' => 'edit_node',
|
||
);
|
||
$handler->display->display_options['style_options']['default'] = 'changed';
|
||
$handler->display->display_options['style_options']['info'] = array(
|
||
'views_bulk_operations' => array(
|
||
'align' => '',
|
||
'separator' => '',
|
||
'empty_column' => 0,
|
||
),
|
||
'title' => array(
|
||
'sortable' => 0,
|
||
'default_sort_order' => 'asc',
|
||
'align' => '',
|
||
'separator' => '',
|
||
'empty_column' => 0,
|
||
),
|
||
'name' => array(
|
||
'sortable' => 0,
|
||
'default_sort_order' => 'asc',
|
||
'align' => '',
|
||
'separator' => '',
|
||
'empty_column' => 0,
|
||
),
|
||
'changed' => array(
|
||
'sortable' => 0,
|
||
'default_sort_order' => 'asc',
|
||
'align' => '',
|
||
'separator' => '',
|
||
'empty_column' => 0,
|
||
),
|
||
'edit_node' => array(
|
||
'align' => '',
|
||
'separator' => ' ',
|
||
'empty_column' => 0,
|
||
),
|
||
'delete_node' => array(
|
||
'align' => '',
|
||
'separator' => '',
|
||
'empty_column' => 0,
|
||
),
|
||
);
|
||
/* Relationship: Content: Author */
|
||
$handler->display->display_options['relationships']['uid']['id'] = 'uid';
|
||
$handler->display->display_options['relationships']['uid']['table'] = 'node';
|
||
$handler->display->display_options['relationships']['uid']['field'] = 'uid';
|
||
/* Field: Bulk operations: Content */
|
||
$handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
|
||
$handler->display->display_options['fields']['views_bulk_operations']['table'] = 'node';
|
||
$handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
|
||
$handler->display->display_options['fields']['views_bulk_operations']['label'] = 'Update Actions';
|
||
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '1';
|
||
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
|
||
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
|
||
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
|
||
$handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
|
||
'action::node_assign_owner_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::commons_content_moderation_delete_node_block_user' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::views_bulk_operations_delete_item' => array(
|
||
'selected' => 1,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 1,
|
||
'override_label' => 1,
|
||
'label' => 'Delete Item(s)',
|
||
),
|
||
'action::views_bulk_operations_script_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::flag_node_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::node_make_sticky_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::node_make_unsticky_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::views_bulk_operations_modify_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
'settings' => array(
|
||
'show_all_tokens' => 1,
|
||
'display_values' => array(
|
||
'_all_' => '_all_',
|
||
),
|
||
),
|
||
),
|
||
'action::views_bulk_operations_argument_selector_action' => array(
|
||
'selected' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
'settings' => array(
|
||
'url' => '',
|
||
),
|
||
),
|
||
'action::node_promote_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::node_publish_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 1,
|
||
'override_label' => 1,
|
||
'label' => 'Publish',
|
||
),
|
||
'action::node_unpromote_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::node_save_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::system_send_email_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::panelizer_set_status_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::node_unpublish_action' => array(
|
||
'selected' => 1,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 1,
|
||
'override_label' => 1,
|
||
'label' => 'Unpublish',
|
||
),
|
||
'action::node_unpublish_by_keyword_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::pathauto_node_update_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 1,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
);
|
||
/* Field: Content: Title */
|
||
$handler->display->display_options['fields']['title']['id'] = 'title';
|
||
$handler->display->display_options['fields']['title']['table'] = 'node';
|
||
$handler->display->display_options['fields']['title']['field'] = 'title';
|
||
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
|
||
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
|
||
/* Field: User: Name */
|
||
$handler->display->display_options['fields']['name']['id'] = 'name';
|
||
$handler->display->display_options['fields']['name']['table'] = 'users';
|
||
$handler->display->display_options['fields']['name']['field'] = 'name';
|
||
$handler->display->display_options['fields']['name']['relationship'] = 'uid';
|
||
$handler->display->display_options['fields']['name']['label'] = 'User';
|
||
$handler->display->display_options['fields']['name']['element_label_colon'] = FALSE;
|
||
/* Field: Content: Updated date */
|
||
$handler->display->display_options['fields']['changed']['id'] = 'changed';
|
||
$handler->display->display_options['fields']['changed']['table'] = 'node';
|
||
$handler->display->display_options['fields']['changed']['field'] = 'changed';
|
||
$handler->display->display_options['fields']['changed']['label'] = 'Updated';
|
||
$handler->display->display_options['fields']['changed']['element_label_colon'] = FALSE;
|
||
$handler->display->display_options['fields']['changed']['date_format'] = 'short';
|
||
/* Field: Content: Edit link */
|
||
$handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
|
||
$handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
|
||
$handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
|
||
$handler->display->display_options['fields']['edit_node']['label'] = 'Operations';
|
||
$handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
|
||
/* Field: Content: Delete link */
|
||
$handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
|
||
$handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
|
||
$handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
|
||
$handler->display->display_options['fields']['delete_node']['label'] = '';
|
||
$handler->display->display_options['fields']['delete_node']['element_label_colon'] = FALSE;
|
||
/* Sort criterion: Content: Post date */
|
||
$handler->display->display_options['sorts']['created']['id'] = 'created';
|
||
$handler->display->display_options['sorts']['created']['table'] = 'node';
|
||
$handler->display->display_options['sorts']['created']['field'] = 'created';
|
||
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
|
||
/* Filter criterion: Content: Published */
|
||
$handler->display->display_options['filters']['status']['id'] = 'status';
|
||
$handler->display->display_options['filters']['status']['table'] = 'node';
|
||
$handler->display->display_options['filters']['status']['field'] = 'status';
|
||
$handler->display->display_options['filters']['status']['value'] = '1';
|
||
$handler->display->display_options['filters']['status']['group'] = 1;
|
||
$handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
|
||
$handler->display->display_options['filters']['status']['expose']['label'] = 'Active';
|
||
$handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
|
||
$handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
|
||
$handler->display->display_options['filters']['status']['expose']['required'] = TRUE;
|
||
$handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
|
||
2 => '2',
|
||
1 => 0,
|
||
3 => 0,
|
||
4 => 0,
|
||
);
|
||
/* Filter criterion: Content: Type */
|
||
$handler->display->display_options['filters']['type']['id'] = 'type';
|
||
$handler->display->display_options['filters']['type']['table'] = 'node';
|
||
$handler->display->display_options['filters']['type']['field'] = 'type';
|
||
$handler->display->display_options['filters']['type']['value'] = array(
|
||
'group' => 'group',
|
||
);
|
||
|
||
/* Display: Proposed */
|
||
$handler = $view->new_display('page', 'Proposed', 'page');
|
||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||
$handler->display->display_options['defaults']['fields'] = FALSE;
|
||
/* Field: Bulk operations: Content */
|
||
$handler->display->display_options['fields']['views_bulk_operations']['id'] = 'views_bulk_operations';
|
||
$handler->display->display_options['fields']['views_bulk_operations']['table'] = 'node';
|
||
$handler->display->display_options['fields']['views_bulk_operations']['field'] = 'views_bulk_operations';
|
||
$handler->display->display_options['fields']['views_bulk_operations']['label'] = 'Update Actions';
|
||
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['display_type'] = '1';
|
||
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['enable_select_all_pages'] = 1;
|
||
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['force_single'] = 0;
|
||
$handler->display->display_options['fields']['views_bulk_operations']['vbo_settings']['entity_load_capacity'] = '10';
|
||
$handler->display->display_options['fields']['views_bulk_operations']['vbo_operations'] = array(
|
||
'action::node_assign_owner_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::commons_content_moderation_delete_node_block_user' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::views_bulk_operations_delete_item' => array(
|
||
'selected' => 1,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 1,
|
||
'override_label' => 1,
|
||
'label' => 'Delete Item(s)',
|
||
),
|
||
'action::views_bulk_operations_script_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::flag_node_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::node_make_sticky_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::node_make_unsticky_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::views_bulk_operations_modify_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
'settings' => array(
|
||
'show_all_tokens' => 1,
|
||
'display_values' => array(
|
||
'_all_' => '_all_',
|
||
),
|
||
),
|
||
),
|
||
'action::views_bulk_operations_argument_selector_action' => array(
|
||
'selected' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
'settings' => array(
|
||
'url' => '',
|
||
),
|
||
),
|
||
'action::node_promote_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::node_publish_action' => array(
|
||
'selected' => 1,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 1,
|
||
'override_label' => 1,
|
||
'label' => 'Publish',
|
||
),
|
||
'action::node_unpromote_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::node_save_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::system_send_email_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::panelizer_set_status_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::node_unpublish_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 1,
|
||
'override_label' => 1,
|
||
'label' => 'Unpublish',
|
||
),
|
||
'action::node_unpublish_by_keyword_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 0,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
'action::pathauto_node_update_action' => array(
|
||
'selected' => 0,
|
||
'postpone_processing' => 0,
|
||
'skip_confirmation' => 1,
|
||
'override_label' => 0,
|
||
'label' => '',
|
||
),
|
||
);
|
||
/* Field: Content: Title */
|
||
$handler->display->display_options['fields']['title']['id'] = 'title';
|
||
$handler->display->display_options['fields']['title']['table'] = 'node';
|
||
$handler->display->display_options['fields']['title']['field'] = 'title';
|
||
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
|
||
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
|
||
/* Field: User: Name */
|
||
$handler->display->display_options['fields']['name']['id'] = 'name';
|
||
$handler->display->display_options['fields']['name']['table'] = 'users';
|
||
$handler->display->display_options['fields']['name']['field'] = 'name';
|
||
$handler->display->display_options['fields']['name']['relationship'] = 'uid';
|
||
$handler->display->display_options['fields']['name']['label'] = 'User';
|
||
$handler->display->display_options['fields']['name']['element_label_colon'] = FALSE;
|
||
/* Field: Content: Updated date */
|
||
$handler->display->display_options['fields']['changed']['id'] = 'changed';
|
||
$handler->display->display_options['fields']['changed']['table'] = 'node';
|
||
$handler->display->display_options['fields']['changed']['field'] = 'changed';
|
||
$handler->display->display_options['fields']['changed']['label'] = 'Updated';
|
||
$handler->display->display_options['fields']['changed']['element_label_colon'] = FALSE;
|
||
$handler->display->display_options['fields']['changed']['date_format'] = 'short';
|
||
/* Field: Content: Edit link */
|
||
$handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
|
||
$handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
|
||
$handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
|
||
$handler->display->display_options['fields']['edit_node']['label'] = 'Operations';
|
||
$handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
|
||
/* Field: Content: Delete link */
|
||
$handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
|
||
$handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
|
||
$handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
|
||
$handler->display->display_options['fields']['delete_node']['label'] = '';
|
||
$handler->display->display_options['fields']['delete_node']['element_label_colon'] = FALSE;
|
||
$handler->display->display_options['defaults']['filter_groups'] = FALSE;
|
||
$handler->display->display_options['defaults']['filters'] = FALSE;
|
||
/* Filter criterion: Content: Published */
|
||
$handler->display->display_options['filters']['status']['id'] = 'status';
|
||
$handler->display->display_options['filters']['status']['table'] = 'node';
|
||
$handler->display->display_options['filters']['status']['field'] = 'status';
|
||
$handler->display->display_options['filters']['status']['value'] = '0';
|
||
$handler->display->display_options['filters']['status']['group'] = 1;
|
||
$handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
|
||
$handler->display->display_options['filters']['status']['expose']['label'] = 'Active';
|
||
$handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
|
||
$handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
|
||
$handler->display->display_options['filters']['status']['expose']['required'] = TRUE;
|
||
$handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
|
||
2 => '2',
|
||
1 => 0,
|
||
3 => 0,
|
||
4 => 0,
|
||
);
|
||
/* Filter criterion: Content: Type */
|
||
$handler->display->display_options['filters']['type']['id'] = 'type';
|
||
$handler->display->display_options['filters']['type']['table'] = 'node';
|
||
$handler->display->display_options['filters']['type']['field'] = 'type';
|
||
$handler->display->display_options['filters']['type']['value'] = array(
|
||
'group' => 'group',
|
||
);
|
||
$handler->display->display_options['path'] = 'admin/content/groups/proposed';
|
||
$handler->display->display_options['menu']['type'] = 'default tab';
|
||
$handler->display->display_options['menu']['title'] = 'Proposed Groups';
|
||
$handler->display->display_options['menu']['description'] = 'Proposed Group Moderation';
|
||
$handler->display->display_options['menu']['weight'] = '0';
|
||
$handler->display->display_options['menu']['context'] = 0;
|
||
$handler->display->display_options['tab_options']['type'] = 'tab';
|
||
$handler->display->display_options['tab_options']['title'] = 'Groups';
|
||
$handler->display->display_options['tab_options']['description'] = 'Groups Moderation';
|
||
$handler->display->display_options['tab_options']['weight'] = '0';
|
||
|
||
/* Display: Published Groups */
|
||
$handler = $view->new_display('page', 'Published Groups', 'page_1');
|
||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||
$handler->display->display_options['defaults']['filter_groups'] = FALSE;
|
||
$handler->display->display_options['defaults']['filters'] = FALSE;
|
||
/* Filter criterion: Content: Published */
|
||
$handler->display->display_options['filters']['status']['id'] = 'status';
|
||
$handler->display->display_options['filters']['status']['table'] = 'node';
|
||
$handler->display->display_options['filters']['status']['field'] = 'status';
|
||
$handler->display->display_options['filters']['status']['value'] = '1';
|
||
$handler->display->display_options['filters']['status']['group'] = 1;
|
||
$handler->display->display_options['filters']['status']['expose']['operator_id'] = '';
|
||
$handler->display->display_options['filters']['status']['expose']['label'] = 'Active';
|
||
$handler->display->display_options['filters']['status']['expose']['operator'] = 'status_op';
|
||
$handler->display->display_options['filters']['status']['expose']['identifier'] = 'status';
|
||
$handler->display->display_options['filters']['status']['expose']['required'] = TRUE;
|
||
$handler->display->display_options['filters']['status']['expose']['remember_roles'] = array(
|
||
2 => '2',
|
||
1 => 0,
|
||
3 => 0,
|
||
4 => 0,
|
||
);
|
||
/* Filter criterion: Content: Type */
|
||
$handler->display->display_options['filters']['type']['id'] = 'type';
|
||
$handler->display->display_options['filters']['type']['table'] = 'node';
|
||
$handler->display->display_options['filters']['type']['field'] = 'type';
|
||
$handler->display->display_options['filters']['type']['value'] = array(
|
||
'group' => 'group',
|
||
);
|
||
$handler->display->display_options['path'] = 'admin/content/groups/published';
|
||
$handler->display->display_options['menu']['type'] = 'tab';
|
||
$handler->display->display_options['menu']['title'] = 'Published';
|
||
$handler->display->display_options['menu']['description'] = 'Manage Published Groups';
|
||
$handler->display->display_options['menu']['weight'] = '0';
|
||
$handler->display->display_options['menu']['context'] = 0;
|
||
|
||
/* Display: Group Update */
|
||
$handler = $view->new_display('page', 'Group Update', 'page_2');
|
||
$handler->display->display_options['defaults']['use_ajax'] = FALSE;
|
||
$handler->display->display_options['use_ajax'] = TRUE;
|
||
$handler->display->display_options['defaults']['empty'] = FALSE;
|
||
/* No results behavior: Global: Unfiltered text */
|
||
$handler->display->display_options['empty']['area_text_custom']['id'] = 'area_text_custom';
|
||
$handler->display->display_options['empty']['area_text_custom']['table'] = 'views';
|
||
$handler->display->display_options['empty']['area_text_custom']['field'] = 'area_text_custom';
|
||
$handler->display->display_options['empty']['area_text_custom']['label'] = 'No Results Toggle';
|
||
$handler->display->display_options['empty']['area_text_custom']['empty'] = TRUE;
|
||
$handler->display->display_options['empty']['area_text_custom']['content'] = 'All groups are updated. <a class="use-ajax" href="update/toggle">Remove group update message</a>';
|
||
$handler->display->display_options['defaults']['fields'] = FALSE;
|
||
/* Field: Content: Title */
|
||
$handler->display->display_options['fields']['title']['id'] = 'title';
|
||
$handler->display->display_options['fields']['title']['table'] = 'node';
|
||
$handler->display->display_options['fields']['title']['field'] = 'title';
|
||
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
|
||
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
|
||
/* Field: User: Name */
|
||
$handler->display->display_options['fields']['name']['id'] = 'name';
|
||
$handler->display->display_options['fields']['name']['table'] = 'users';
|
||
$handler->display->display_options['fields']['name']['field'] = 'name';
|
||
$handler->display->display_options['fields']['name']['relationship'] = 'uid';
|
||
$handler->display->display_options['fields']['name']['label'] = 'User';
|
||
$handler->display->display_options['fields']['name']['element_label_colon'] = FALSE;
|
||
/* Field: Content: Updated date */
|
||
$handler->display->display_options['fields']['changed']['id'] = 'changed';
|
||
$handler->display->display_options['fields']['changed']['table'] = 'node';
|
||
$handler->display->display_options['fields']['changed']['field'] = 'changed';
|
||
$handler->display->display_options['fields']['changed']['label'] = 'Updated';
|
||
$handler->display->display_options['fields']['changed']['element_label_colon'] = FALSE;
|
||
$handler->display->display_options['fields']['changed']['date_format'] = 'short';
|
||
/* Field: Content: Edit link */
|
||
$handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
|
||
$handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
|
||
$handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
|
||
$handler->display->display_options['fields']['edit_node']['label'] = 'Operations';
|
||
$handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
|
||
/* Field: Content: Delete link */
|
||
$handler->display->display_options['fields']['delete_node']['id'] = 'delete_node';
|
||
$handler->display->display_options['fields']['delete_node']['table'] = 'views_entity_node';
|
||
$handler->display->display_options['fields']['delete_node']['field'] = 'delete_node';
|
||
$handler->display->display_options['fields']['delete_node']['label'] = '';
|
||
$handler->display->display_options['fields']['delete_node']['element_label_colon'] = FALSE;
|
||
$handler->display->display_options['defaults']['filter_groups'] = FALSE;
|
||
$handler->display->display_options['defaults']['filters'] = FALSE;
|
||
/* Filter criterion: Content: Type */
|
||
$handler->display->display_options['filters']['type']['id'] = 'type';
|
||
$handler->display->display_options['filters']['type']['table'] = 'node';
|
||
$handler->display->display_options['filters']['type']['field'] = 'type';
|
||
$handler->display->display_options['filters']['type']['value'] = array(
|
||
'group' => 'group',
|
||
);
|
||
/* Filter criterion: Content: Privacy settings (field_og_subscribe_settings) */
|
||
$handler->display->display_options['filters']['field_og_subscribe_settings_value']['id'] = 'field_og_subscribe_settings_value';
|
||
$handler->display->display_options['filters']['field_og_subscribe_settings_value']['table'] = 'field_data_field_og_subscribe_settings';
|
||
$handler->display->display_options['filters']['field_og_subscribe_settings_value']['field'] = 'field_og_subscribe_settings_value';
|
||
$handler->display->display_options['filters']['field_og_subscribe_settings_value']['operator'] = 'empty';
|
||
$handler->display->display_options['path'] = 'admin/content/groups/update';
|
||
$handler->display->display_options['menu']['title'] = 'Needs Update';
|
||
$handler->display->display_options['menu']['weight'] = '10';
|
||
$handler->display->display_options['menu']['context'] = 0;
|
||
$handler->display->display_options['menu']['context_only_inline'] = 0;
|
||
$translatables['commons_group_moderation'] = array(
|
||
t('Master'),
|
||
t('Commons Group Moderation'),
|
||
t('more'),
|
||
t('Apply'),
|
||
t('Reset'),
|
||
t('Sort by'),
|
||
t('Asc'),
|
||
t('Desc'),
|
||
t('Items per page'),
|
||
t('- All -'),
|
||
t('Offset'),
|
||
t('« first'),
|
||
t('‹ previous'),
|
||
t('next ›'),
|
||
t('last »'),
|
||
t('author'),
|
||
t('Update Actions'),
|
||
t('Title'),
|
||
t('User'),
|
||
t('Updated'),
|
||
t('Operations'),
|
||
t('Active'),
|
||
t('Proposed'),
|
||
t('Published Groups'),
|
||
);
|
||
$export['commons_group_moderation'] = $view;
|
||
|
||
$view = new view();
|
||
$view->name = 'commons_groups_contributors';
|
||
$view->description = '';
|
||
$view->tag = 'default';
|
||
$view->base_table = 'users';
|
||
$view->human_name = 'Commons Contributors - Sitewide';
|
||
$view->core = 7;
|
||
$view->api_version = '3.0';
|
||
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
|
||
|
||
/* Display: Master */
|
||
$handler = $view->new_display('default', 'Master', 'default');
|
||
$handler->display->display_options['title'] = 'Contributors';
|
||
$handler->display->display_options['use_more'] = TRUE;
|
||
$handler->display->display_options['use_more_always'] = FALSE;
|
||
$handler->display->display_options['access']['type'] = 'perm';
|
||
$handler->display->display_options['access']['perm'] = 'access user profiles';
|
||
$handler->display->display_options['cache']['type'] = 'none';
|
||
$handler->display->display_options['query']['type'] = 'views_query';
|
||
$handler->display->display_options['query']['options']['distinct'] = TRUE;
|
||
$handler->display->display_options['exposed_form']['type'] = 'basic';
|
||
$handler->display->display_options['pager']['type'] = 'some';
|
||
$handler->display->display_options['pager']['options']['items_per_page'] = '16';
|
||
$handler->display->display_options['pager']['options']['offset'] = '0';
|
||
$handler->display->display_options['style_plugin'] = 'grid';
|
||
$handler->display->display_options['row_plugin'] = 'fields';
|
||
/* No results behavior: Global: Text area */
|
||
$handler->display->display_options['empty']['area']['id'] = 'area';
|
||
$handler->display->display_options['empty']['area']['table'] = 'views';
|
||
$handler->display->display_options['empty']['area']['field'] = 'area';
|
||
$handler->display->display_options['empty']['area']['empty'] = TRUE;
|
||
$handler->display->display_options['empty']['area']['content'] = 'Nobody has contributed any site content yet.';
|
||
$handler->display->display_options['empty']['area']['format'] = 'filtered_html';
|
||
/* Relationship: OG membership: OG membership from User */
|
||
$handler->display->display_options['relationships']['og_membership_rel']['id'] = 'og_membership_rel';
|
||
$handler->display->display_options['relationships']['og_membership_rel']['table'] = 'users';
|
||
$handler->display->display_options['relationships']['og_membership_rel']['field'] = 'og_membership_rel';
|
||
$handler->display->display_options['relationships']['og_membership_rel']['required'] = TRUE;
|
||
/* Field: User: Picture */
|
||
$handler->display->display_options['fields']['picture']['id'] = 'picture';
|
||
$handler->display->display_options['fields']['picture']['table'] = 'users';
|
||
$handler->display->display_options['fields']['picture']['field'] = 'picture';
|
||
$handler->display->display_options['fields']['picture']['label'] = '';
|
||
$handler->display->display_options['fields']['picture']['element_label_colon'] = FALSE;
|
||
$handler->display->display_options['fields']['picture']['image_style'] = '50x50';
|
||
/* Sort criterion: User: Created date */
|
||
$handler->display->display_options['sorts']['created']['id'] = 'created';
|
||
$handler->display->display_options['sorts']['created']['table'] = 'users';
|
||
$handler->display->display_options['sorts']['created']['field'] = 'created';
|
||
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
|
||
/* Filter criterion: User: Active */
|
||
$handler->display->display_options['filters']['status']['id'] = 'status';
|
||
$handler->display->display_options['filters']['status']['table'] = 'users';
|
||
$handler->display->display_options['filters']['status']['field'] = 'status';
|
||
$handler->display->display_options['filters']['status']['value'] = '1';
|
||
$handler->display->display_options['filters']['status']['group'] = 1;
|
||
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
|
||
/* Filter criterion: OG membership: State */
|
||
$handler->display->display_options['filters']['state']['id'] = 'state';
|
||
$handler->display->display_options['filters']['state']['table'] = 'og_membership';
|
||
$handler->display->display_options['filters']['state']['field'] = 'state';
|
||
$handler->display->display_options['filters']['state']['relationship'] = 'og_membership_rel';
|
||
$handler->display->display_options['filters']['state']['value'] = array(
|
||
1 => '1',
|
||
);
|
||
/* Filter criterion: OG membership: Group_type */
|
||
$handler->display->display_options['filters']['group_type']['id'] = 'group_type';
|
||
$handler->display->display_options['filters']['group_type']['table'] = 'og_membership';
|
||
$handler->display->display_options['filters']['group_type']['field'] = 'group_type';
|
||
$handler->display->display_options['filters']['group_type']['relationship'] = 'og_membership_rel';
|
||
$handler->display->display_options['filters']['group_type']['value'] = array(
|
||
'node' => 'node',
|
||
);
|
||
|
||
/* Display: Content pane */
|
||
$handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
|
||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||
$handler->display->display_options['pane_title'] = 'Contributors (Site-wide)';
|
||
$handler->display->display_options['pane_category']['name'] = 'Commons';
|
||
$handler->display->display_options['pane_category']['weight'] = '0';
|
||
$translatables['commons_groups_contributors'] = array(
|
||
t('Master'),
|
||
t('Contributors'),
|
||
t('more'),
|
||
t('Apply'),
|
||
t('Reset'),
|
||
t('Sort by'),
|
||
t('Asc'),
|
||
t('Desc'),
|
||
t('OG membership from user'),
|
||
t('Content pane'),
|
||
t('Contributors (Site-wide)'),
|
||
t('Commons'),
|
||
);
|
||
$export['commons_groups_contributors'] = $view;
|
||
|
||
$view = new view();
|
||
$view->name = 'commons_groups_directory';
|
||
$view->description = '';
|
||
$view->tag = 'default';
|
||
$view->base_table = 'node';
|
||
$view->human_name = 'commons_groups_directory';
|
||
$view->core = 7;
|
||
$view->api_version = '3.0';
|
||
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
|
||
|
||
/* Display: Master */
|
||
$handler = $view->new_display('default', 'Master', 'default');
|
||
$handler->display->display_options['title'] = 'Groups';
|
||
$handler->display->display_options['use_more_always'] = FALSE;
|
||
$handler->display->display_options['access']['type'] = 'perm';
|
||
$handler->display->display_options['cache']['type'] = 'none';
|
||
$handler->display->display_options['query']['type'] = 'views_query';
|
||
$handler->display->display_options['exposed_form']['type'] = 'basic';
|
||
$handler->display->display_options['pager']['type'] = 'load_more';
|
||
$handler->display->display_options['pager']['options']['items_per_page'] = '10';
|
||
$handler->display->display_options['pager']['options']['offset'] = '0';
|
||
$handler->display->display_options['pager']['options']['id'] = '0';
|
||
$handler->display->display_options['pager']['options']['quantity'] = '9';
|
||
$handler->display->display_options['style_plugin'] = 'default';
|
||
$handler->display->display_options['row_plugin'] = 'node';
|
||
$handler->display->display_options['row_options']['links'] = FALSE;
|
||
/* No results behavior: Global: Text area */
|
||
$handler->display->display_options['empty']['area']['id'] = 'area';
|
||
$handler->display->display_options['empty']['area']['table'] = 'views';
|
||
$handler->display->display_options['empty']['area']['field'] = 'area';
|
||
$handler->display->display_options['empty']['area']['empty'] = TRUE;
|
||
$handler->display->display_options['empty']['area']['content'] = 'No groups have been created yet.';
|
||
$handler->display->display_options['empty']['area']['format'] = 'filtered_html';
|
||
/* Field: Content: Title */
|
||
$handler->display->display_options['fields']['title']['id'] = 'title';
|
||
$handler->display->display_options['fields']['title']['table'] = 'node';
|
||
$handler->display->display_options['fields']['title']['field'] = 'title';
|
||
$handler->display->display_options['fields']['title']['label'] = '';
|
||
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
|
||
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
|
||
/* Sort criterion: Content: Post date */
|
||
$handler->display->display_options['sorts']['created']['id'] = 'created';
|
||
$handler->display->display_options['sorts']['created']['table'] = 'node';
|
||
$handler->display->display_options['sorts']['created']['field'] = 'created';
|
||
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
|
||
/* Filter criterion: Content: Published */
|
||
$handler->display->display_options['filters']['status']['id'] = 'status';
|
||
$handler->display->display_options['filters']['status']['table'] = 'node';
|
||
$handler->display->display_options['filters']['status']['field'] = 'status';
|
||
$handler->display->display_options['filters']['status']['value'] = 1;
|
||
$handler->display->display_options['filters']['status']['group'] = 1;
|
||
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
|
||
/* Filter criterion: Field: Group (group_group) */
|
||
$handler->display->display_options['filters']['group_group_value']['id'] = 'group_group_value';
|
||
$handler->display->display_options['filters']['group_group_value']['table'] = 'field_data_group_group';
|
||
$handler->display->display_options['filters']['group_group_value']['field'] = 'group_group_value';
|
||
$handler->display->display_options['filters']['group_group_value']['value'] = array(
|
||
1 => '1',
|
||
);
|
||
/* Filter criterion: Search: Search Terms */
|
||
$handler->display->display_options['filters']['keys']['id'] = 'keys';
|
||
$handler->display->display_options['filters']['keys']['table'] = 'search_index';
|
||
$handler->display->display_options['filters']['keys']['field'] = 'keys';
|
||
$handler->display->display_options['filters']['keys']['exposed'] = TRUE;
|
||
$handler->display->display_options['filters']['keys']['expose']['operator_id'] = 'keys_op';
|
||
$handler->display->display_options['filters']['keys']['expose']['label'] = 'Limit to';
|
||
$handler->display->display_options['filters']['keys']['expose']['operator'] = 'keys_op';
|
||
$handler->display->display_options['filters']['keys']['expose']['identifier'] = 'groups-keys';
|
||
$handler->display->display_options['filters']['keys']['expose']['remember_roles'] = array(
|
||
2 => '2',
|
||
1 => 0,
|
||
);
|
||
|
||
/* Display: Feed */
|
||
$handler = $view->new_display('feed', 'Feed', 'feed');
|
||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||
$handler->display->display_options['pager']['type'] = 'some';
|
||
$handler->display->display_options['style_plugin'] = 'rss';
|
||
$handler->display->display_options['row_plugin'] = 'node_rss';
|
||
$handler->display->display_options['path'] = 'commons-groups-directory.xml';
|
||
$handler->display->display_options['displays'] = array(
|
||
'default' => 'default',
|
||
'page' => 'page',
|
||
);
|
||
|
||
/* Display: Content pane */
|
||
$handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
|
||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||
$handler->display->display_options['pane_category']['name'] = 'Commons';
|
||
$handler->display->display_options['pane_category']['weight'] = '0';
|
||
$handler->display->display_options['inherit_panels_path'] = '1';
|
||
$translatables['commons_groups_directory'] = array(
|
||
t('Master'),
|
||
t('Groups'),
|
||
t('more'),
|
||
t('Apply'),
|
||
t('Reset'),
|
||
t('Sort by'),
|
||
t('Asc'),
|
||
t('Desc'),
|
||
t('Items per page'),
|
||
t('- All -'),
|
||
t('Offset'),
|
||
t('« first'),
|
||
t('‹ previous'),
|
||
t('next ›'),
|
||
t('last »'),
|
||
t('No groups have been created yet.'),
|
||
t('Limit to'),
|
||
t('Feed'),
|
||
t('Content pane'),
|
||
t('Commons'),
|
||
);
|
||
$export['commons_groups_directory'] = $view;
|
||
|
||
$view = new view();
|
||
$view->name = 'commons_groups_recent_content';
|
||
$view->description = 'Shows titles of the 5 most recent pieces of content in a group.';
|
||
$view->tag = 'Commons';
|
||
$view->base_table = 'node';
|
||
$view->human_name = 'Commons Groups: Recent group content';
|
||
$view->core = 7;
|
||
$view->api_version = '3.0';
|
||
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
|
||
|
||
/* Display: Master */
|
||
$handler = $view->new_display('default', 'Master', 'default');
|
||
$handler->display->display_options['title'] = 'Commons Groups: Recent content';
|
||
$handler->display->display_options['use_more_always'] = FALSE;
|
||
$handler->display->display_options['access']['type'] = 'perm';
|
||
$handler->display->display_options['cache']['type'] = 'none';
|
||
$handler->display->display_options['query']['type'] = 'views_query';
|
||
$handler->display->display_options['exposed_form']['type'] = 'basic';
|
||
$handler->display->display_options['pager']['type'] = 'some';
|
||
$handler->display->display_options['pager']['options']['items_per_page'] = '5';
|
||
$handler->display->display_options['style_plugin'] = 'default';
|
||
$handler->display->display_options['row_plugin'] = 'fields';
|
||
/* Relationship: OG membership: OG membership from Node */
|
||
$handler->display->display_options['relationships']['og_membership_rel']['id'] = 'og_membership_rel';
|
||
$handler->display->display_options['relationships']['og_membership_rel']['table'] = 'node';
|
||
$handler->display->display_options['relationships']['og_membership_rel']['field'] = 'og_membership_rel';
|
||
$handler->display->display_options['relationships']['og_membership_rel']['required'] = TRUE;
|
||
/* Field: Content: Type */
|
||
$handler->display->display_options['fields']['type']['id'] = 'type';
|
||
$handler->display->display_options['fields']['type']['table'] = 'node';
|
||
$handler->display->display_options['fields']['type']['field'] = 'type';
|
||
$handler->display->display_options['fields']['type']['label'] = '';
|
||
$handler->display->display_options['fields']['type']['exclude'] = TRUE;
|
||
$handler->display->display_options['fields']['type']['element_label_colon'] = FALSE;
|
||
/* Field: Content: Title */
|
||
$handler->display->display_options['fields']['title']['id'] = 'title';
|
||
$handler->display->display_options['fields']['title']['table'] = 'node';
|
||
$handler->display->display_options['fields']['title']['field'] = 'title';
|
||
$handler->display->display_options['fields']['title']['label'] = '';
|
||
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
|
||
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
|
||
$handler->display->display_options['fields']['title']['element_class'] = 'type-[type]';
|
||
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
|
||
/* Sort criterion: Content: Post date */
|
||
$handler->display->display_options['sorts']['created']['id'] = 'created';
|
||
$handler->display->display_options['sorts']['created']['table'] = 'node';
|
||
$handler->display->display_options['sorts']['created']['field'] = 'created';
|
||
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
|
||
/* Contextual filter: OG membership: Group ID */
|
||
$handler->display->display_options['arguments']['gid']['id'] = 'gid';
|
||
$handler->display->display_options['arguments']['gid']['table'] = 'og_membership';
|
||
$handler->display->display_options['arguments']['gid']['field'] = 'gid';
|
||
$handler->display->display_options['arguments']['gid']['relationship'] = 'og_membership_rel';
|
||
$handler->display->display_options['arguments']['gid']['default_action'] = 'not found';
|
||
$handler->display->display_options['arguments']['gid']['default_argument_type'] = 'fixed';
|
||
$handler->display->display_options['arguments']['gid']['summary']['number_of_records'] = '0';
|
||
$handler->display->display_options['arguments']['gid']['summary']['format'] = 'default_summary';
|
||
$handler->display->display_options['arguments']['gid']['summary_options']['items_per_page'] = '25';
|
||
/* Filter criterion: Content: Published */
|
||
$handler->display->display_options['filters']['status']['id'] = 'status';
|
||
$handler->display->display_options['filters']['status']['table'] = 'node';
|
||
$handler->display->display_options['filters']['status']['field'] = 'status';
|
||
$handler->display->display_options['filters']['status']['value'] = 1;
|
||
$handler->display->display_options['filters']['status']['group'] = 1;
|
||
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
|
||
/* Filter criterion: OG membership: Group_type */
|
||
$handler->display->display_options['filters']['group_type']['id'] = 'group_type';
|
||
$handler->display->display_options['filters']['group_type']['table'] = 'og_membership';
|
||
$handler->display->display_options['filters']['group_type']['field'] = 'group_type';
|
||
$handler->display->display_options['filters']['group_type']['relationship'] = 'og_membership_rel';
|
||
$handler->display->display_options['filters']['group_type']['value'] = array(
|
||
'node' => 'node',
|
||
);
|
||
|
||
/* Display: Block */
|
||
$handler = $view->new_display('block', 'Block', 'block');
|
||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||
$translatables['commons_groups_recent_content'] = array(
|
||
t('Master'),
|
||
t('Commons Groups: Recent content'),
|
||
t('more'),
|
||
t('Apply'),
|
||
t('Reset'),
|
||
t('Sort by'),
|
||
t('Asc'),
|
||
t('Desc'),
|
||
t('Nobody has contributed any site content yet.'),
|
||
t('OG membership from node'),
|
||
t('All'),
|
||
t('Block'),
|
||
);
|
||
$export['commons_groups_recent_content'] = $view;
|
||
|
||
$view = new view();
|
||
$view->name = 'commons_groups_user_groups';
|
||
$view->description = '';
|
||
$view->tag = 'default';
|
||
$view->base_table = 'og_membership';
|
||
$view->human_name = 'Commons Groups: Groups that a user contributes to';
|
||
$view->core = 7;
|
||
$view->api_version = '3.0';
|
||
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
|
||
|
||
/* Display: Master */
|
||
$handler = $view->new_display('default', 'Master', 'default');
|
||
$handler->display->display_options['use_more_always'] = FALSE;
|
||
$handler->display->display_options['access']['type'] = 'none';
|
||
$handler->display->display_options['cache']['type'] = 'none';
|
||
$handler->display->display_options['query']['type'] = 'views_query';
|
||
$handler->display->display_options['exposed_form']['type'] = 'basic';
|
||
$handler->display->display_options['pager']['type'] = 'load_more';
|
||
$handler->display->display_options['pager']['options']['items_per_page'] = '3';
|
||
$handler->display->display_options['pager']['options']['offset'] = '0';
|
||
$handler->display->display_options['pager']['options']['id'] = '0';
|
||
$handler->display->display_options['pager']['options']['quantity'] = '9';
|
||
$handler->display->display_options['style_plugin'] = 'default';
|
||
$handler->display->display_options['row_plugin'] = 'fields';
|
||
/* No results behavior: Global: Text area */
|
||
$handler->display->display_options['empty']['area']['id'] = 'area';
|
||
$handler->display->display_options['empty']['area']['table'] = 'views';
|
||
$handler->display->display_options['empty']['area']['field'] = 'area';
|
||
$handler->display->display_options['empty']['area']['empty'] = TRUE;
|
||
$handler->display->display_options['empty']['area']['content'] = 'This person hasn\'t contributed to any groups yet.';
|
||
$handler->display->display_options['empty']['area']['format'] = 'filtered_html';
|
||
/* Relationship: OG membership: Group Node from OG membership */
|
||
$handler->display->display_options['relationships']['og_membership_related_node_group']['id'] = 'og_membership_related_node_group';
|
||
$handler->display->display_options['relationships']['og_membership_related_node_group']['table'] = 'og_membership';
|
||
$handler->display->display_options['relationships']['og_membership_related_node_group']['field'] = 'og_membership_related_node_group';
|
||
$handler->display->display_options['relationships']['og_membership_related_node_group']['required'] = TRUE;
|
||
/* Field: Content: Group Logo */
|
||
$handler->display->display_options['fields']['field_group_logo']['id'] = 'field_group_logo';
|
||
$handler->display->display_options['fields']['field_group_logo']['table'] = 'field_data_field_group_logo';
|
||
$handler->display->display_options['fields']['field_group_logo']['field'] = 'field_group_logo';
|
||
$handler->display->display_options['fields']['field_group_logo']['relationship'] = 'og_membership_related_node_group';
|
||
$handler->display->display_options['fields']['field_group_logo']['label'] = '';
|
||
$handler->display->display_options['fields']['field_group_logo']['element_label_colon'] = FALSE;
|
||
$handler->display->display_options['fields']['field_group_logo']['click_sort_column'] = 'fid';
|
||
$handler->display->display_options['fields']['field_group_logo']['settings'] = array(
|
||
'image_style' => 'thumbnail',
|
||
'image_link' => 'content',
|
||
);
|
||
/* Field: Content: Title */
|
||
$handler->display->display_options['fields']['title']['id'] = 'title';
|
||
$handler->display->display_options['fields']['title']['table'] = 'node';
|
||
$handler->display->display_options['fields']['title']['field'] = 'title';
|
||
$handler->display->display_options['fields']['title']['relationship'] = 'og_membership_related_node_group';
|
||
$handler->display->display_options['fields']['title']['label'] = '';
|
||
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
|
||
/* Field: Field: Group */
|
||
$handler->display->display_options['fields']['group_group']['id'] = 'group_group';
|
||
$handler->display->display_options['fields']['group_group']['table'] = 'field_data_group_group';
|
||
$handler->display->display_options['fields']['group_group']['field'] = 'group_group';
|
||
$handler->display->display_options['fields']['group_group']['relationship'] = 'og_membership_related_node_group';
|
||
$handler->display->display_options['fields']['group_group']['label'] = '';
|
||
$handler->display->display_options['fields']['group_group']['element_label_colon'] = FALSE;
|
||
$handler->display->display_options['fields']['group_group']['type'] = 'commons_groups_group_subscribe';
|
||
$handler->display->display_options['fields']['group_group']['settings'] = array(
|
||
'field_name' => '0',
|
||
);
|
||
/* Contextual filter: OG membership: Entity id */
|
||
$handler->display->display_options['arguments']['etid']['id'] = 'etid';
|
||
$handler->display->display_options['arguments']['etid']['table'] = 'og_membership';
|
||
$handler->display->display_options['arguments']['etid']['field'] = 'etid';
|
||
$handler->display->display_options['arguments']['etid']['default_action'] = 'not found';
|
||
$handler->display->display_options['arguments']['etid']['default_argument_type'] = 'fixed';
|
||
$handler->display->display_options['arguments']['etid']['summary']['number_of_records'] = '0';
|
||
$handler->display->display_options['arguments']['etid']['summary']['format'] = 'default_summary';
|
||
$handler->display->display_options['arguments']['etid']['summary_options']['items_per_page'] = '25';
|
||
/* Filter criterion: OG membership: Entity_type */
|
||
$handler->display->display_options['filters']['entity_type']['id'] = 'entity_type';
|
||
$handler->display->display_options['filters']['entity_type']['table'] = 'og_membership';
|
||
$handler->display->display_options['filters']['entity_type']['field'] = 'entity_type';
|
||
$handler->display->display_options['filters']['entity_type']['value'] = 'user';
|
||
|
||
/* Display: Content pane */
|
||
$handler = $view->new_display('panel_pane', 'Content pane', 'panel_pane_1');
|
||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||
$handler->display->display_options['argument_input'] = array(
|
||
'etid' => array(
|
||
'type' => 'context',
|
||
'context' => 'user_edit_form.uid',
|
||
'context_optional' => 0,
|
||
'panel' => '0',
|
||
'fixed' => '',
|
||
'label' => 'OG membership: Entity id',
|
||
),
|
||
);
|
||
$translatables['commons_groups_user_groups'] = array(
|
||
t('Master'),
|
||
t('more'),
|
||
t('Apply'),
|
||
t('Reset'),
|
||
t('Sort by'),
|
||
t('Asc'),
|
||
t('Desc'),
|
||
t('Items per page'),
|
||
t('- All -'),
|
||
t('Offset'),
|
||
t('« first'),
|
||
t('‹ previous'),
|
||
t('next ›'),
|
||
t('last »'),
|
||
t('This person hasn\'t contributed to any groups yet.'),
|
||
t('Group node from OG membership'),
|
||
t('All'),
|
||
t('Content pane'),
|
||
t('View panes'),
|
||
);
|
||
$export['commons_groups_user_groups'] = $view;
|
||
|
||
return $export;
|
||
}
|