function forum_uri
Same name in other branches
- 9 core/modules/forum/forum.module \forum_uri()
- 8.9.x core/modules/forum/forum.module \forum_uri()
- 10 core/modules/forum/forum.module \forum_uri()
- 11.x core/modules/forum/forum.module \forum_uri()
Implements callback_entity_info_uri().
Entity URI callback used in forum_entity_info_alter().
1 string reference to 'forum_uri'
- forum_entity_info_alter in modules/
forum/ forum.module - Implements hook_entity_info_alter().
File
-
modules/
forum/ forum.module, line 240
Code
function forum_uri($forum) {
return array(
'path' => 'forum/' . $forum->tid,
);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.