You are here

function og_group_states in Organic groups 7

Same name and namespace in other branches
  1. 7.2 og.module \og_group_states()

Return the states a group can be in.

1 call to og_group_states()
og_handler_filter_group_state::get_value_options in includes/views/og_handler_filter_group_state.inc
Child classes should be used to override this function and set the 'value options', unless 'options callback' is defined as a valid function or static public method to generate these values.
1 string reference to 'og_group_states'
OgMetadataController::entityPropertyInfo in includes/og.info.inc

File

./og.module, line 3056
Enable users to create and manage groups with roles and permissions.

Code

function og_group_states() {
  return array(
    OG_STATE_ACTIVE => t('Active'),
    OG_STATE_PENDING => t('Pending'),
  );
}