Skip to content

Commit

Permalink
Reinstate link overrides for ExternalURLLink (removing versioned stat…
Browse files Browse the repository at this point in the history
…e query params)
  • Loading branch information
dizzystuff committed Jul 24, 2022
1 parent 558e91c commit 04f18e8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Extensions/ExternalURLLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,14 @@ public function updateValidate(ValidationResult &$result)
$result->addFieldError('URL', 'External URLs must be complete including http:// or https://');
}
}

public function updateLink(&$link)
{
$link = $this->getOwner()->URL;
}

public function updateAbsoluteLink(&$link)
{
$link = $this->getOwner()->URL;
}
}

0 comments on commit 04f18e8

Please sign in to comment.