Commit 533ccbe9 authored by alexpott's avatar alexpott

Issue #2313913 by ivanjaros: OverviewTerms form uses hardcoded path.

parent 71e4a64d
......@@ -195,7 +195,7 @@ public function buildForm(array $form, FormStateInterface $form_state, Vocabular
$form['terms'] = array(
'#type' => 'table',
'#header' => array($this->t('Name'), $this->t('Weight'), $this->t('Operations')),
'#empty' => $this->t('No terms available. <a href="@link">Add term</a>.', array('@link' => url('admin/structure/taxonomy/manage/' . $taxonomy_vocabulary->id() . '/add'))),
'#empty' => $this->t('No terms available. <a href="@link">Add term</a>.', array('@link' => $this->url('taxonomy.term_add', array('taxonomy_vocabulary' => $taxonomy_vocabulary->id())))),
'#attributes' => array(
'id' => 'taxonomy',
),
......
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