views_navigation_handler_field_node_link.inc in Views navigation 7
Function to return the Node Link handler for Views Navigation.
File
views/views_navigation_handler_field_node_link.incView source
<?php
/**
* @file
* Function to return the Node Link handler for Views Navigation.
*/
/**
* Class views_navigation_handler_field_node_link.
*/
class views_navigation_handler_field_node_link extends views_handler_field_node_link {
/**
* Implements render_link().
*/
public function render_link($node, $values) {
$text = parent::render_link($node, $values);
module_load_include('inc', 'views_navigation');
$this->options['alter']['path'] = _views_navigation_build_url($node->nid, $this->view);
return $text;
}
}
Classes
Name | Description |
---|---|
views_navigation_handler_field_node_link | Class views_navigation_handler_field_node_link. |