function xbbcode_basic_render_nodelink in Extensible BBCode 8.2
Same name and namespace in other branches
- 8 xbbcode_basic/xbbcode_basic.module \xbbcode_basic_render_nodelink()
- 7 xbbcode_basic/xbbcode_basic.module \xbbcode_basic_render_nodelink()
1 string reference to 'xbbcode_basic_render_nodelink'
- xbbcode_basic_xbbcode_info in xbbcode_basic/
xbbcode_basic.module
File
- xbbcode_basic/
xbbcode_basic.module, line 232
Code
function xbbcode_basic_render_nodelink($tag) {
return Drupal::l($tag->content, new Url('entity.node.canonical', [
'node' => $tag->option,
]), [
'html' => TRUE,
]);
}