You are here

function finder_views_get_finder_args in Finder 6

Same name and namespace in other branches
  1. 7 modules/finder_views/finder_views.module \finder_views_get_finder_args()

Get finder arguments.

Parameters

$element: The finder element object.

Return value

The array of views arguments.

1 call to finder_views_get_finder_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 669
The finder views module.

Code

function finder_views_get_finder_args($finder) {
  $variables = array(
    'finder' => $finder,
  );
  $string =& $finder->settings['views']['views_args']['args'];
  $delimiter =& $finder->settings['views']['views_args']['delimiter'];
  return finder_views_get_args($string, $delimiter, $variables);
}