function hook_content_load

7.x content.api.php hook_content_load(&$content)
6.x content.api.php hook_content_load(&$content)
5.x content.module hook_content_load(&$content)

This hook is called by the function content_load($cid), and allows other modules to act on content which is being loaded.

Note: we will always call "content_content_load" FIRST, before calling other modules' hook_content_load functions.

2 functions implement hook_content_load()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

alerts_content_load in modules/alerts/alerts.module
Implements hook_content_load.
content_content_load in modules/content/content.module
Implementation of content's hook_content_load

File

modules/content/content.api.php, line 123

Code

function hook_content_load(&$content) {
  $content->title = "Change the Title";

  // No need to return since we passes by reference.
}