Skip to content

Commit

Permalink
Merge branch 'develop' into feature/SD-359-updated-link
Browse files Browse the repository at this point in the history
  • Loading branch information
yeniatencio authored Oct 16, 2024
2 parents 6a6dab0 + f978b99 commit 23bd217
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 23bd217

Please sign in to comment.