public function getVariables()
    {
        $variables = [];

        if ($this->page->getId()) {
            $variables['cms.identifier'] = $this->page->getIdentifier();
            $variables['cms.title']      = $this->page->getTitle();
        }

        return $variables;
    }
public function getVariables()
    {
        $variables = [];

        if ($this->page->getId()) {
            $variables['cms.identifier'] = $this->page->getIdentifier();
            $variables['cms.title']      = $this->page->getTitle();
        }

        return $variables;
    }
public function getVariables ( ) { $ variables = [ ] ; if ( $ this -> page -> getId ( ) ) { $ variables [ 'cms.identifier' ] = $ this -> page -> getIdentifier ( ) ; $ variables [ 'cms.title' ] = $ this -> page -> getTitle ( ) ; } return $ variables ; }
Append the CMS page viewed identifier and title to the list of tracked variables

@return array
Append the CMS page viewed identifier and title to the list of tracked variables