When a user navigates to a relation view. e.g: /relation/%relation no page title is set because the title callback does not exist.
See relation_ui.module
function relation_ui_menu() {
$items['relation/%relation'] = array(
'title callback' => 'relation_page_title',
'title arguments' => array(1),
'access arguments' => array('access relations'),
'page callback' => 'relation_page',
'page arguments' => array(1),
);relation_page_title was removed in c04134c05d1b0cea92e885e082632d5e6b34a0a0
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | rename_to_relation_ui-1965724-5.patch | 6.78 KB | mikran |
Comments
Comment #1
mikran commentedthat was just temporary, it got added back in 5ca9254b9cd7f2c01d6022417ff3b9c76e0c693c ?
edit: ohh you're right, the function name didn't get changed. patch incoming?
Comment #2
dpiedit: just rename title callback to relation_ui_page_title
Comment #3
mikran commentedthere
Comment #4
mikran commentedFollowing items should also be changed to relation_ui* for consistency.
'title callback' => 'relation_type_page_title','page callback' => 'relation_page','page arguments' => array('relation_edit_form', 1),'page arguments' => array('relation_delete_confirm', 1),Comment #5
mikran commentedand the patch
Comment #6
mikran commentedcommitted