function views_content_view_from_argument_get_children

1 string reference to 'views_content_view_from_argument_get_children'
view_from_argument.inc in views_content/plugins/relationships/view_from_argument.inc
Plugin to provide an relationship handler for a view by argument input settings.

File

views_content/plugins/relationships/view_from_argument.inc, line 39

Code

function views_content_view_from_argument_get_children($plugin, $parent) {
    $types = array();
    $views = views_get_applicable_views('returns context');
    foreach ($views as $data) {
        list($view, $id) = $data;
        $info = _views_content_get_context_from_display($view, $id, $parent, TRUE);
        if ($info) {
            $types[$info['name']] = $info;
        }
    }
    return $types;
}