forum_uri($forum)
Entity URI callback used in forum_entity_bundle_info_alter().
File
- core/modules/forum/forum.module, line 132
- Provides discussion forums.
Code
function forum_uri($forum) { return Url::fromRoute('forum.page', ['taxonomy_term' => $forum->id()]); }
Please login to continue.