function views_content_view_from_argument_get_children

cis7 view_from_argument.inc views_content_view_from_argument_get_children($plugin, $parent)
cle7 view_from_argument.inc views_content_view_from_argument_get_children($plugin, $parent)
elmsmedia7 view_from_argument.inc views_content_view_from_argument_get_children($plugin, $parent)
icor7 view_from_argument.inc views_content_view_from_argument_get_children($plugin, $parent)
meedjum_blog7 view_from_argument.inc views_content_view_from_argument_get_children($plugin, $parent)
mooc7 view_from_argument.inc views_content_view_from_argument_get_children($plugin, $parent)
1 string reference to 'views_content_view_from_argument_get_children'
view_from_argument.inc in sites/all/modules/ulmus/ctools/views_content/plugins/relationships/view_from_argument.inc
Plugin to provide an relationship handler for a view by argument input settings.

File

sites/all/modules/ulmus/ctools/views_content/plugins/relationships/view_from_argument.inc, line 39
Plugin to provide an relationship handler for a view by argument input settings.

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;
}