yii\authclient\AuthAction::getCancelUrl PHP Method

getCancelUrl() public method

public getCancelUrl ( ) : string
return string cancel URL.
    public function getCancelUrl()
    {
        if (empty($this->_cancelUrl)) {
            $this->_cancelUrl = $this->defaultCancelUrl();
        }
        return $this->_cancelUrl;
    }

Usage Example

Beispiel #1
0
 /**
  * @inheritdoc
  */
 public function getCancelUrl()
 {
     return $this->_module->getSocialSetting('defaultCancelUrl', $this->userType, parent::getCancelUrl());
 }