Skip to content

Instantly share code, notes, and snippets.

@damiankloip
Created June 18, 2012 07:18
Show Gist options
  • Save damiankloip/2947260 to your computer and use it in GitHub Desktop.
Save damiankloip/2947260 to your computer and use it in GitHub Desktop.
'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',
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment