You are here

function og_subgroups_views_arguments in Subgroups for Organic groups 5

Same name and namespace in other branches
  1. 5.4 og_subgroups.views.inc \og_subgroups_views_arguments()

Implementation of hook_views_tables().

File

./og_subgroups.views.inc, line 7

Code

function og_subgroups_views_arguments() {
  $args = array(
    'subgroups_gid' => array(
      'name' => t("OG Subgroups: Group nid"),
      'handler' => 'og_subgroups_handler_argument_gid',
      'help' => t('Get the children subgroups of a parent group. Provide the parent group node id (nid). '),
    ),
  );
  return $args;
}