Skip to content

Instantly share code, notes, and snippets.

@steinmb
Last active December 10, 2015 23:28
Show Gist options
  • Save steinmb/4509423 to your computer and use it in GitHub Desktop.
Save steinmb/4509423 to your computer and use it in GitHub Desktop.
W2 debugging
$view = new view();
$view->name = 'de';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'de';
$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'] = 'Content debugging';
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['use_more_text'] = 'mer';
$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['exposed_form']['options']['submit_button'] = 'Bruk';
$handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Nullstill';
$handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Sortér på';
$handler->display->display_options['exposed_form']['options']['sort_asc_label'] = 'Stigende';
$handler->display->display_options['exposed_form']['options']['sort_desc_label'] = 'Synkende';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '200';
$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['pager']['options']['expose']['items_per_page_label'] = 'Elementer per side';
$handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Alle -';
$handler->display->display_options['style_plugin'] = 'table';
$handler->display->display_options['style_options']['columns'] = array(
'title' => 'title',
'field_uib_w2_nav_parent_id' => 'field_uib_w2_nav_parent_id',
'field_uib_w2_path' => 'field_uib_w2_path',
'field_uib_w2_id' => 'field_uib_w2_id',
'type' => 'type',
'created' => 'created',
'changed' => 'changed',
);
$handler->display->display_options['style_options']['default'] = '-1';
$handler->display->display_options['style_options']['info'] = array(
'title' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'field_uib_w2_nav_parent_id' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'field_uib_w2_path' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'field_uib_w2_id' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'type' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'created' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
'changed' => array(
'sortable' => 1,
'default_sort_order' => 'asc',
'align' => '',
'separator' => '',
'empty_column' => 0,
),
);
/* Oppførsel ved ingen resultater: Global: Tekstområde */
$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'] = 'Master. I\'m sorry, but I have to inform you that no content matching your wishes was found.';
$handler->display->display_options['empty']['area']['format'] = 'plain_text';
/* Oppførsel ved ingen resultater: Global: Result summary */
$handler->display->display_options['empty']['result']['id'] = 'result';
$handler->display->display_options['empty']['result']['table'] = 'views';
$handler->display->display_options['empty']['result']['field'] = 'result';
$handler->display->display_options['empty']['result']['empty'] = TRUE;
/* Felt: Innhold: Tittel */
$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;
/* Felt: Innhold: Parent ID w2 */
$handler->display->display_options['fields']['field_uib_w2_nav_parent_id']['id'] = 'field_uib_w2_nav_parent_id';
$handler->display->display_options['fields']['field_uib_w2_nav_parent_id']['table'] = 'field_data_field_uib_w2_nav_parent_id';
$handler->display->display_options['fields']['field_uib_w2_nav_parent_id']['field'] = 'field_uib_w2_nav_parent_id';
/* Felt: Innhold: Path w2 */
$handler->display->display_options['fields']['field_uib_w2_path']['id'] = 'field_uib_w2_path';
$handler->display->display_options['fields']['field_uib_w2_path']['table'] = 'field_data_field_uib_w2_path';
$handler->display->display_options['fields']['field_uib_w2_path']['field'] = 'field_uib_w2_path';
/* Felt: Felt: ID w2 */
$handler->display->display_options['fields']['field_uib_w2_id']['id'] = 'field_uib_w2_id';
$handler->display->display_options['fields']['field_uib_w2_id']['table'] = 'field_data_field_uib_w2_id';
$handler->display->display_options['fields']['field_uib_w2_id']['field'] = 'field_uib_w2_id';
/* Felt: Innhold: 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';
/* Felt: Innhold: Innleggsdato */
$handler->display->display_options['fields']['created']['id'] = 'created';
$handler->display->display_options['fields']['created']['table'] = 'node';
$handler->display->display_options['fields']['created']['field'] = 'created';
$handler->display->display_options['fields']['created']['date_format'] = 'long';
/* Felt: Innhold: Oppdatert dato */
$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']['date_format'] = 'long';
/* Felt: Innhold: Rediger lenke */
$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';
/* Felt: Innhold: Slett lenke */
$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';
/* Sorteringskriterium: Innhold: Innleggsdato */
$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: Innhold: Publisert */
$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: Felt: ID w2 (field_uib_w2_id) */
$handler->display->display_options['filters']['field_uib_w2_id_value']['id'] = 'field_uib_w2_id_value';
$handler->display->display_options['filters']['field_uib_w2_id_value']['table'] = 'field_data_field_uib_w2_id';
$handler->display->display_options['filters']['field_uib_w2_id_value']['field'] = 'field_uib_w2_id_value';
$handler->display->display_options['filters']['field_uib_w2_id_value']['operator'] = 'contains';
$handler->display->display_options['filters']['field_uib_w2_id_value']['group'] = 1;
$handler->display->display_options['filters']['field_uib_w2_id_value']['exposed'] = TRUE;
$handler->display->display_options['filters']['field_uib_w2_id_value']['expose']['operator_id'] = 'field_uib_w2_id_value_op';
$handler->display->display_options['filters']['field_uib_w2_id_value']['expose']['label'] = 'ID w2 (field_uib_w2_id)';
$handler->display->display_options['filters']['field_uib_w2_id_value']['expose']['use_operator'] = TRUE;
$handler->display->display_options['filters']['field_uib_w2_id_value']['expose']['operator'] = 'field_uib_w2_id_value_op';
$handler->display->display_options['filters']['field_uib_w2_id_value']['expose']['identifier'] = 'field_uib_w2_id_value';
$handler->display->display_options['filters']['field_uib_w2_id_value']['expose']['remember_roles'] = array(
2 => '2',
1 => 0,
5 => 0,
4 => 0,
3 => 0,
);
/* Filter criterion: Innhold: Tittel */
$handler->display->display_options['filters']['title']['id'] = 'title';
$handler->display->display_options['filters']['title']['table'] = 'node';
$handler->display->display_options['filters']['title']['field'] = 'title';
$handler->display->display_options['filters']['title']['operator'] = 'contains';
$handler->display->display_options['filters']['title']['group'] = 1;
$handler->display->display_options['filters']['title']['exposed'] = TRUE;
$handler->display->display_options['filters']['title']['expose']['operator_id'] = 'title_op';
$handler->display->display_options['filters']['title']['expose']['label'] = 'Title';
$handler->display->display_options['filters']['title']['expose']['operator'] = 'title_op';
$handler->display->display_options['filters']['title']['expose']['identifier'] = 'title';
$handler->display->display_options['filters']['title']['expose']['remember_roles'] = array(
2 => '2',
1 => 0,
5 => 0,
4 => 0,
3 => 0,
);
/* Filter criterion: Innhold: 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']['group'] = 1;
$handler->display->display_options['filters']['type']['exposed'] = TRUE;
$handler->display->display_options['filters']['type']['expose']['operator_id'] = 'type_op';
$handler->display->display_options['filters']['type']['expose']['label'] = 'Type';
$handler->display->display_options['filters']['type']['expose']['operator'] = 'type_op';
$handler->display->display_options['filters']['type']['expose']['identifier'] = 'type';
$handler->display->display_options['filters']['type']['expose']['multiple'] = TRUE;
$handler->display->display_options['filters']['type']['expose']['remember_roles'] = array(
2 => '2',
1 => 0,
5 => 0,
4 => 0,
3 => 0,
);
/* Filter criterion: Innhold: Type (field_uib_article_type) */
$handler->display->display_options['filters']['field_uib_article_type_value']['id'] = 'field_uib_article_type_value';
$handler->display->display_options['filters']['field_uib_article_type_value']['table'] = 'field_data_field_uib_article_type';
$handler->display->display_options['filters']['field_uib_article_type_value']['field'] = 'field_uib_article_type_value';
$handler->display->display_options['filters']['field_uib_article_type_value']['group'] = 1;
$handler->display->display_options['filters']['field_uib_article_type_value']['exposed'] = TRUE;
$handler->display->display_options['filters']['field_uib_article_type_value']['expose']['operator_id'] = 'field_uib_article_type_value_op';
$handler->display->display_options['filters']['field_uib_article_type_value']['expose']['label'] = 'Type (field_uib_article_type)';
$handler->display->display_options['filters']['field_uib_article_type_value']['expose']['operator'] = 'field_uib_article_type_value_op';
$handler->display->display_options['filters']['field_uib_article_type_value']['expose']['identifier'] = 'field_uib_article_type_value';
$handler->display->display_options['filters']['field_uib_article_type_value']['expose']['multiple'] = TRUE;
$handler->display->display_options['filters']['field_uib_article_type_value']['expose']['remember_roles'] = array(
2 => '2',
1 => 0,
5 => 0,
4 => 0,
3 => 0,
);
/* Filter criterion: Innhold: Path w2 (field_uib_w2_path) */
$handler->display->display_options['filters']['field_uib_w2_path_value']['id'] = 'field_uib_w2_path_value';
$handler->display->display_options['filters']['field_uib_w2_path_value']['table'] = 'field_data_field_uib_w2_path';
$handler->display->display_options['filters']['field_uib_w2_path_value']['field'] = 'field_uib_w2_path_value';
$handler->display->display_options['filters']['field_uib_w2_path_value']['operator'] = 'contains';
$handler->display->display_options['filters']['field_uib_w2_path_value']['exposed'] = TRUE;
$handler->display->display_options['filters']['field_uib_w2_path_value']['expose']['operator_id'] = 'field_uib_w2_path_value_op';
$handler->display->display_options['filters']['field_uib_w2_path_value']['expose']['label'] = 'Path w2 (field_uib_w2_path)';
$handler->display->display_options['filters']['field_uib_w2_path_value']['expose']['operator'] = 'field_uib_w2_path_value_op';
$handler->display->display_options['filters']['field_uib_w2_path_value']['expose']['identifier'] = 'field_uib_w2_path_value';
$handler->display->display_options['filters']['field_uib_w2_path_value']['expose']['remember_roles'] = array(
2 => '2',
1 => 0,
5 => 0,
4 => 0,
3 => 0,
);
/* Display: Page */
$handler = $view->new_display('page', 'Page', 'page');
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
$handler->display->display_options['path'] = 'admin/content/debug';
$handler->display->display_options['menu']['type'] = 'tab';
$handler->display->display_options['menu']['title'] = 'Content debug';
$handler->display->display_options['menu']['weight'] = '0';
$handler->display->display_options['menu']['context'] = 0;
$translatables['de'] = array(
t('Master'),
t('Content debugging'),
t('mer'),
t('Bruk'),
t('Nullstill'),
t('Sortér på'),
t('Stigende'),
t('Synkende'),
t('Elementer per side'),
t('- Alle -'),
t('Offset'),
t('« first'),
t('‹ previous'),
t('next ›'),
t('last »'),
t('Master. I\'m sorry, but I have to inform you that no content matching your wishes was found.'),
t('Displaying @start - @end of @total'),
t('Parent ID w2'),
t('Path w2'),
t('ID w2'),
t('Type'),
t('Innleggsdato'),
t('Oppdatert dato'),
t('Rediger lenke'),
t('Slett lenke'),
t('ID w2 (field_uib_w2_id)'),
t('Title'),
t('Type (field_uib_article_type)'),
t('Path w2 (field_uib_w2_path)'),
t('Page'),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment