Commit a36a116d authored by webchick's avatar webchick
Browse files

Issue #2293749 by joshi.rohit100: Fixed Use ->url() in Forum module in overview form.

parent 19475dd4
......@@ -100,8 +100,8 @@ public function buildForm(array $form, array &$form_state) {
// 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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment