if ($vocabulary->access('view')) {
$reasons[] = $this->t('To uninstall Forum, first delete all <a href=":url">%vocabulary</a> terms', [
'%vocabulary' => $vocabulary->label(),
- ':url' => $vocabulary->url('overview-form'),
+ ':url' => $vocabulary->toUrl('overview-form')->toString(),
]);
}
else {
$reasons[] = $this->t('To uninstall Forum, first delete all %vocabulary terms', [
- '%vocabulary' => $vocabulary->label()
+ '%vocabulary' => $vocabulary->label(),
]);
}
}