add a new extension hook to SiteTree::RelativeLink()
This commit is contained in:
parent
12c11e5308
commit
4d7874b4f2
|
@ -666,7 +666,11 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
|
|||
$action = null;
|
||||
}
|
||||
|
||||
return Controller::join_links($base, '/', $action);
|
||||
$link = Controller::join_links($base, '/', $action);
|
||||
|
||||
$this->extend('updateFinalRelativeLink', $link);
|
||||
|
||||
return $link;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue