forum_uri
function forum_uri
forum_uri($forum)
Entity URI callback used in forum_entity_bundle_info_alter().
File
- core/modules/forum/forum.module, line 131
- Provides discussion forums.
Code
function forum_uri($forum) { return Url::fromRoute('forum.page', ['taxonomy_term' => $forum->id()]); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
登录查看完整内容