protected function getDefaultData()
    {
        $data = array();

        $data['_uid'] = $this->uid;
        $data['_uri'] = $this->uri;
        $data['_path'] = $this->path;
        $data['_base'] = $this->base;
        $data['_host'] = $this->host;
        $data['_token'] = $this->token;
        $data['_query'] = $this->query;
        $data['_scheme'] = $this->scheme;
        $data['_cart_uid'] = $this->cart_uid;
        $data['_is_front'] = $this->isFront();
        $data['_is_logged_in'] = !empty($this->uid);
        $data['_is_admin'] = $this->access('admin');
        $data['_is_superadmin'] = $this->isSuperadmin();
        $data['_langcode'] = empty($this->langcode) ? 'en' : $this->langcode;
        $data['_url'] = $this->scheme . $this->host . $this->base . $this->path;

        return $data;
    }
protected function getDefaultData()
    {
        $data = array();

        $data['_uid'] = $this->uid;
        $data['_uri'] = $this->uri;
        $data['_path'] = $this->path;
        $data['_base'] = $this->base;
        $data['_host'] = $this->host;
        $data['_token'] = $this->token;
        $data['_query'] = $this->query;
        $data['_scheme'] = $this->scheme;
        $data['_cart_uid'] = $this->cart_uid;
        $data['_is_front'] = $this->isFront();
        $data['_is_logged_in'] = !empty($this->uid);
        $data['_is_admin'] = $this->access('admin');
        $data['_is_superadmin'] = $this->isSuperadmin();
        $data['_langcode'] = empty($this->langcode) ? 'en' : $this->langcode;
        $data['_url'] = $this->scheme . $this->host . $this->base . $this->path;

        return $data;
    }
protected function getDefaultData ( ) { $ data = array ( ) ; $ data [ '_uid' ] = $ this -> uid ; $ data [ '_uri' ] = $ this -> uri ; $ data [ '_path' ] = $ this -> path ; $ data [ '_base' ] = $ this -> base ; $ data [ '_host' ] = $ this -> host ; $ data [ '_token' ] = $ this -> token ; $ data [ '_query' ] = $ this -> query ; $ data [ '_scheme' ] = $ this -> scheme ; $ data [ '_cart_uid' ] = $ this -> cart_uid ; $ data [ '_is_front' ] = $ this -> isFront ( ) ; $ data [ '_is_logged_in' ] = ! empty ( $ this -> uid ) ; $ data [ '_is_admin' ] = $ this -> access ( 'admin' ) ; $ data [ '_is_superadmin' ] = $ this -> isSuperadmin ( ) ; $ data [ '_langcode' ] = empty ( $ this -> langcode ) ? 'en' : $ this -> langcode ; $ data [ '_url' ] = $ this -> scheme . $ this -> host . $ this -> base . $ this -> path ; return $ data ; }
Returns global template variables
@return array
Returns global template variables