function noderelationships_abort_view in Node Relationships 6
Abort a custom view with page not found.
2 calls to noderelationships_abort_view()
- noderelationships_customize_backref_view in ./
noderelationships.inc - Apply custom configuration to the given back reference view.
- noderelationships_customize_noderef_view in ./
noderelationships.inc - Apply custom configuration to the given search and reference view.
File
- ./
noderelationships.inc, line 802 - Common functions for the noderelationships module.
Code
function noderelationships_abort_view(&$view, &$view_args) {
$view_args = array(
NULL,
);
$view->display_handler
->override_option('arguments', array(
'nid' => array(
'id' => 'nid',
'table' => 'node',
'field' => 'nid',
'default_action' => 'not found',
),
));
}