function finder_views_get_element_args in Finder 6
Same name and namespace in other branches
- 7 modules/finder_views/finder_views.module \finder_views_get_element_args()
Get element arguments.
Parameters
$element: The finder element object.
Return value
The array of views arguments.
1 call to finder_views_get_element_args()
- finder_views_finder_find in modules/
finder_views/ finder_views.module - Implementation of hook_finder_find().
File
- modules/
finder_views/ finder_views.module, line 652 - The finder views module.
Code
function finder_views_get_element_args($element) {
$variables = array(
'finder_element' => $element,
);
$string =& $element->settings['choices']['views']['args'];
$delimiter =& $element->settings['choices']['views']['delimiter'];
return finder_views_get_args($string, $delimiter, $variables);
}