You are here

function commons_follow_node_flag_default_flags in Drupal Commons 7.3

Implements hook_flag_default_flags().

File

modules/commons/commons_follow/commons_follow_node/commons_follow_node.features.inc, line 17
commons_follow_node.features.inc

Code

function commons_follow_node_flag_default_flags() {
  $flags = array();

  // Exported flag: "Other content you follow".
  $flags['commons_follow_node'] = array(
    'entity_type' => 'node',
    'title' => 'Other content',
    'global' => 0,
    'types' => array(),
    'flag_short' => 'Follow',
    'flag_long' => '',
    'flag_message' => '',
    'unflag_short' => 'Following',
    'unflag_long' => '',
    'unflag_message' => 'Not following',
    'unflag_denied_text' => '',
    'link_type' => 'toggle',
    'weight' => -10,
    'show_on_form' => 0,
    'access_author' => '',
    'show_in_links' => array(
      'full' => TRUE,
      'teaser' => TRUE,
    ),
    'show_contextual_link' => FALSE,
    'i18n' => 0,
    'module' => 'commons_follow_node',
    'locked' => array(
      0 => 'name',
    ),
    'api_version' => 3,
  );
  return $flags;
}