- Issue created by @beerendlauwers
The links are rendered like this: http://DOMAINhttp//DOMAIN/admin/content?type=CONTENTTYPE
In getUtilizationTabularData
, change these lines:
$link = Url::fromRoute('system.admin_content', ['type' => $type['bundle']])->toString();
$http_host = \Drupal::request()->getSchemeAndHttpHost();
$header[$name] = $this->t('<a href="@link">@label</a>', [
'@link' => $http_host . $link,
'@label' => $header_label,
]);
to these:
$link = Url::fromRoute('system.admin_content', ['type' => $type['bundle']])->setAbsolute()->toString();
$header[$name] = $this->t('<a href="@link">@label</a>', [
'@link' => $link,
'@label' => $header_label,
]);
Active
1.0
Code