function message_example_theme in Message 6
Implementation of hook_theme().
Theme override a the user's name field in the "message_example" view. It is not related specifically to the message module, but rather a demonstration of how a view may be themed via a module to provide a nicer looking news feed.
File
- modules/
message_example/ message_example.module, line 207
Code
function message_example_theme() {
return array(
'views_view_field__message_example__name' => array(
'arguments' => array(
'view' => FALSE,
'field' => FALSE,
'row' => FALSE,
),
'original hook' => 'views_view_field',
),
);
}