使用link
$form['default_cert_group'] = [
'#type' => 'link',
'#title' => Markup::create('<span class="glyphicon glyphicon-cog"></span> 默认调用组为:' . $default_cert_name),
'#url' => $url,
];
$form['default_cert_group'] = [
'#type' => 'link',
'#title' => Markup::create('<span class="glyphicon glyphicon-cog"></span> 默认调用组为:' . $default_cert_name),
'#url' => $url,
];
本文标题:drupal 学习笔记
本文链接:https://www.haomeiwen.com/subject/mgwbvctx.html
网友评论