Révision 4444412d
Ajouté par Julien Enselme il y a presque 10 ans
drupal7/modules/system/system.api.php | ||
---|---|---|
875 | 875 |
* |
876 | 876 |
* @see ajax_render() |
877 | 877 |
*/ |
878 |
function hook_ajax_render_alter($commands) { |
|
878 |
function hook_ajax_render_alter(&$commands) {
|
|
879 | 879 |
// Inject any new status messages into the content area. |
880 | 880 |
$commands[] = ajax_command_prepend('#block-system-main .content', theme('status_messages')); |
881 | 881 |
} |
Formats disponibles : Unified diff
Update drupal 7.27 -> 7.28