1.20.x admin_bar.api.php hook_admin_bar_output_alter(&$content)

Change the administration bar content before it is rendered.

Only use this hook to alter existing data in the menu structure. Use hook_admin_bar_output_build() to *add* new data.

Parameters

array $content: A structured array suitable for backdrop_render(). Passed by reference.

See also

hook_admin_bar_output_build()

File

modules/admin_bar/admin_bar.api.php, line 111
API documentation for Administration bar.

Code

function hook_admin_bar_output_alter(&$content) {
}