Projet

Général

Profil

Révision c304a780

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/plugins/arguments/user_name.inc
2 2

  
3 3
/**
4 4
 * @file
5
 *
6
 * Plugin to provide an argument handler for a username
5
 * Plugin to provide an argument handler for a username.
7 6
 */
8 7

  
9 8
/**
......
12 11
 */
13 12
$plugin = array(
14 13
  'title' => t("User: name"),
15
  // keyword to use for %substitution
14
  // Keyword to use for %substitution.
16 15
  'keyword' => 'user',
17 16
  'description' => t('Creates a user context from a user name.'),
18 17
  'context' => 'ctools_argument_user_name_context',
......
42 41
  }
43 42
  return ctools_context_create('user', $account);
44 43
}
45

  
46

  
47

  

Formats disponibles : Unified diff