/** * @inheritdoc */ public function getUrl() { return $this->replaceUrlTokens(parent::getUrl()); }
/** * @inheritdoc */ public function getUrl() { return str_replace('{site_id}', $this->getSite()->id, parent::getUrl()); }
/** * @inheritdoc */ public function getUrl() { // Replace the {user_id} token with the actual user id. return str_replace('{user_id}', $this->getUser()->get('id'), parent::getUrl()); }