function hook_content_alter
Search API
Similar to hook_form_alter, this function lets other modules alter content which is being rendered through the "render" system.
You may make changes to the render array.
File
- includes/
hook.api.php, line 95 - Lists all available hooks within FlightPath's core code.
Code
function hook_content_alter(&$render, $render_id) {
if ($render_id == 'some_id') {
$render_array ['extra'] = array(
'value' => 'Add this extra content.',
);
}
}