Projet

Général

Profil

Révision 76e2e7c3

Ajouté par Assos Assos il y a environ 10 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/flag/tests/flag_hook_test/flag_hook_test.module
106 106
 */
107 107
function flag_hook_test_flag_default_flags() {
108 108
  $flags = array();
109
  $flags['flag_hook_test_flag'] = array (
109
  $flags['flag_hook_test_flag'] = array(
110 110
    'entity_type' => 'node',
111 111
    'title' => 'Test Flag',
112 112
    'global' => FALSE,
113
    'types' => array (
113
    'types' => array(
114 114
      0 => 'article',
115 115
    ),
116 116
    'flag_short' => 'Flag this',
......
122 122
    'unflag_denied_text' => 'You may not unflag this item',
123 123
    'link_type' => 'normal',
124 124
    'weight' => 0,
125
    'show_in_links' => array (
125
    'show_in_links' => array(
126 126
      'full' => TRUE,
127 127
      'teaser' => TRUE,
128 128
    ),

Formats disponibles : Unified diff