Révision 6ff32cea
Ajouté par Florent Torregrosa il y a environ 9 ans
drupal7/modules/user/user.api.php | ||
---|---|---|
327 | 327 |
* The module should format its custom additions for display and add them to the |
328 | 328 |
* $account->content array. |
329 | 329 |
* |
330 |
* Note that when this hook is invoked, the changes have not yet been written to |
|
331 |
* the database, because a database transaction is still in progress. The |
|
332 |
* transaction is not finalized until the save operation is entirely completed |
|
333 |
* and user_save() goes out of scope. You should not rely on data in the |
|
334 |
* database at this time as it is not updated yet. You should also note that any |
|
335 |
* write/update database queries executed from this hook are also not committed |
|
336 |
* immediately. Check user_save() and db_transaction() for more info. |
|
337 |
* |
|
338 | 330 |
* @param $account |
339 | 331 |
* The user object on which the operation is being performed. |
340 | 332 |
* @param $view_mode |
Formats disponibles : Unified diff
Update core to 7.36