Skip to content

Instantly share code, notes, and snippets.

@damiankloip
Created June 18, 2012 07:18

Revisions

  1. damiankloip created this gist Jun 18, 2012.
    66 changes: 66 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,66 @@
    'backlinks' => array(
    'disabled' => false,
    'vid' => '1',
    'name' => 'backlinks',
    'description' => 'Displays a list of nodes that link to the node, using the search backlinks table.',
    'tag' => 'default',
    'base_table' => 'node',
    'human_name' => 'Backlinks',
    'core' => '0',
    'display' =>
    array (
    'block' =>
    array (
    'vid' => '1',
    'id' => 'block',
    'display_title' => 'What links here',
    'display_plugin' => 'block',
    'position' => '3',
    'display_options' =>
    array (
    'query' =>
    array (
    'type' => 'views_query',
    'options' =>
    array (
    ),
    ),
    'defaults' =>
    array (
    'use_more' => false,
    'style_plugin' => false,
    'style_options' => false,
    'row_plugin' => false,
    'row_options' => false,
    'arguments' => false,
    ),
    'use_more' => true,
    'style_plugin' => 'list',
    'row_plugin' => 'fields',
    'arguments' =>
    array (
    'nid' =>
    array (
    'id' => 'nid',
    'table' => 'search_node_links_to',
    'field' => 'nid',
    'default_action' => 'default',
    'title_enable' => 1,
    'title' => 'What links here',
    'default_argument_type' => 'node',
    'summary' =>
    array (
    'format' => 'default_summary',
    ),
    'specify_validation' => 1,
    'validate' =>
    array (
    'type' => 'node',
    ),
    ),
    ),
    ),
    ),
    ),
    'api_version' => '3.0',
    )