function finder::element_arguments in Finder 7.2
Finder element arguments.
Get the contextual filter arguments for an element.
Parameters
$element: The finder element object.
Return value
The array of views arguments.
1 call to finder::element_arguments()
- finder::views_find in includes/
finder.inc - Finder views find.
File
- includes/
finder.inc, line 1074 - finder.inc
Class
- finder
- An object to contain all of the data to generate a finder, plus the member functions to build the finder, and render the output.
Code
function element_arguments($element) {
finder_inc('build');
$variables = array(
'finder_element' => $element,
);
$string = $this
->esetting($element, 'contextual_filter');
return finder_get_args($string, $variables);
}