Issue #2293749 by joshi.rohit100: Fixed Use ->url() in Forum module in overview form.
parent
19475dd4cf
commit
a36a116d75
|
@ -100,8 +100,8 @@ class Overview extends OverviewTerms {
|
|||
// Use the existing taxonomy overview submit handler.
|
||||
$form['#submit'] = array(array($this, 'submitForm'));
|
||||
$form['terms']['#empty'] = $this->t('No containers or forums available. <a href="@container">Add container</a> or <a href="@forum">Add forum</a>.', array(
|
||||
'@container' => $this->urlGenerator()->generateFromPath('admin/structure/forum/add/container'),
|
||||
'@forum' => $this->urlGenerator()->generateFromPath('admin/structure/forum/add/forum')
|
||||
'@container' => $this->url('forum.add_container'),
|
||||
'@forum' => $this->url('forum.add_forum')
|
||||
));
|
||||
return $form;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue