Révision b4adf10d
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/modules/user/user.api.php | ||
---|---|---|
386 | 386 |
} |
387 | 387 |
|
388 | 388 |
/** |
389 |
* Inform other modules that a user role is about to be saved.
|
|
389 |
* Act on a user role being inserted or updated.
|
|
390 | 390 |
* |
391 | 391 |
* Modules implementing this hook can act on the user role object before |
392 | 392 |
* it has been saved to the database. |
... | ... | |
405 | 405 |
} |
406 | 406 |
|
407 | 407 |
/** |
408 |
* Inform other modules that a user role has been added.
|
|
408 |
* Respond to creation of a new user role.
|
|
409 | 409 |
* |
410 | 410 |
* Modules implementing this hook can act on the user role object when saved to |
411 | 411 |
* the database. It's recommended that you implement this hook if your module |
... | ... | |
426 | 426 |
} |
427 | 427 |
|
428 | 428 |
/** |
429 |
* Inform other modules that a user role has been updated.
|
|
429 |
* Respond to updates to a user role.
|
|
430 | 430 |
* |
431 | 431 |
* Modules implementing this hook can act on the user role object when updated. |
432 | 432 |
* It's recommended that you implement this hook if your module adds additional |
... | ... | |
447 | 447 |
} |
448 | 448 |
|
449 | 449 |
/** |
450 |
* Inform other modules that a user role has been deleted.
|
|
450 |
* Respond to user role deletion.
|
|
451 | 451 |
* |
452 | 452 |
* This hook allows you act when a user role has been deleted. |
453 | 453 |
* If your module stores references to roles, it's recommended that you |
Formats disponibles : Unified diff
Udpate to 7.33