diff --git a/modules/tide_site/src/Plugin/Linkit/Substitution/Canonical.php b/modules/tide_site/src/Plugin/Linkit/Substitution/Canonical.php index c6eb2ad58..7c5292ced 100644 --- a/modules/tide_site/src/Plugin/Linkit/Substitution/Canonical.php +++ b/modules/tide_site/src/Plugin/Linkit/Substitution/Canonical.php @@ -67,9 +67,9 @@ public static function create(ContainerInterface $container, array $configuratio /** * {@inheritdoc} */ - public function getUrl(EntityInterface $entity) { + public function getUrl(EntityInterface $entity, array $options = []) { /** @var \Drupal\Core\GeneratedUrl $url */ - $url = parent::getUrl($entity)->toString(TRUE); + $url = parent::getUrl($entity, $options)->toString(TRUE); // Remove the site prefix from path alias when responding from // JSONAPI entity resource with site parameter.