You are here

function og_views_arguments in Organic groups 5.7

Same name and namespace in other branches
  1. 5.8 og_views.inc \og_views_arguments()
  2. 5 og_views.inc \og_views_arguments()
  3. 5.2 og_views.inc \og_views_arguments()
  4. 5.3 og_views.inc \og_views_arguments()

File

./og_views.inc, line 318

Code

function og_views_arguments() {
  $args = array(
    'gid' => array(
      'name' => t("OG: Group nid(s)"),
      'handler' => 'og_handler_argument_gid',
      'help' => t('Filter for the one or more organic groups. Groups should be specified as a comma or plus delimited list of node ids, like taxonomy URLs. '),
    ),
    'name' => array(
      'name' => t("OG: Group name"),
      'handler' => 'og_handler_argument_group_name_like',
      'option' => array(
        '#type' => 'select',
        '#options' => 'views_handler_operator_like',
      ),
      'help' => t('Filter for the one or more organic groups. Groups should be specified by name, or part of a name. Use the <em>Option</em> field to specify how to match the supplied name.'),
    ),
  );
  return $args;
}