Projet

Général

Profil

Révision dd54aff9

Ajouté par Assos Assos il y a plus de 10 ans

Weekly update of contrib modules

Voir les différences:

htmltest/sites/all/modules/entity/modules/user.info.inc
59 59
    'description' => t("The date the user last accessed the site."),
60 60
    'getter callback' => 'entity_metadata_user_get_properties',
61 61
    'type' => 'date',
62
    'access callback' => 'entity_metadata_user_properties_access',
62 63
    'schema field' => 'access',
63 64
  );
64 65
  $properties['last_login'] = array(
......
66 67
    'description' => t("The date the user last logged in to the site."),
67 68
    'getter callback' => 'entity_metadata_user_get_properties',
68 69
    'type' => 'date',
70
    'access callback' => 'entity_metadata_user_properties_access',
69 71
    'schema field' => 'login',
70 72
  );
71 73
  $properties['created'] = array(
......
73 75
    'description' => t("The date the user account was created."),
74 76
    'type' => 'date',
75 77
    'schema field' => 'created',
78
    'setter permission' => 'administer users',
76 79
  );
77 80
  $properties['roles'] = array(
78 81
    'label' => t("User roles"),
......
80 83
    'type' => 'list<integer>',
81 84
    'getter callback' => 'entity_metadata_user_get_properties',
82 85
    'setter callback' => 'entity_metadata_user_set_properties',
83
    'setter permission' => 'administer users',
84 86
    'options list' => 'entity_metadata_user_roles',
85 87
    'access callback' => 'entity_metadata_user_properties_access',
86 88
  );
......
92 94
    // it is an integer, so we follow the schema definition.
93 95
    'type' => 'integer',
94 96
    'options list' => 'entity_metadata_user_status_options_list',
95
    'setter permission' => 'administer users',
97
    'access callback' => 'entity_metadata_user_properties_access',
96 98
    'schema field' => 'status',
97 99
  );
98 100
  $properties['theme'] = array(

Formats disponibles : Unified diff