protected function getDynamicParams()
    {
        if (is_null($this->dynamicParams))
        {
            $this->dynamicParams = [
                'siteUrl'       => UrlHelper::siteUrl(),
                'cpTrigger'     => Craft::$app->config->general->cpTrigger,
                'actionTrigger' => Craft::$app->config->general->actionTrigger,
            ];
        }

        return $this->dynamicParams;
    }
protected function getDynamicParams()
    {
        if (is_null($this->dynamicParams))
        {
            $this->dynamicParams = [
                'siteUrl'       => UrlHelper::siteUrl(),
                'cpTrigger'     => Craft::$app->config->general->cpTrigger,
                'actionTrigger' => Craft::$app->config->general->actionTrigger,
            ];
        }

        return $this->dynamicParams;
    }
protected function getDynamicParams ( ) { if ( is_null ( $ this -> dynamicParams ) ) { $ this -> dynamicParams = [ 'siteUrl' => UrlHelper :: siteUrl ( ) , 'cpTrigger' => Craft :: $ app -> config -> general -> cpTrigger , 'actionTrigger' => Craft :: $ app -> config -> general -> actionTrigger , ] ; } return $ this -> dynamicParams ; }
Returns a list of dynamic parameters and their values that can be used in restricted area settings

@return array

@throws \yii\base\Exception
Returns a list of dynamic parameters and their values that can be used in restricted area settings