src/Cms/AbstractWebTemplate.php
public function metaTitle()
    {
        $context = $this->contextObject();
        $title   = null;

        if ($context instanceof HasMetatagInterface) {
            $title = (string)$context['meta_title'];
        }

        if (!$title) {
            $title = (string)$this->fallbackMetaTitle();
        }

        return $title;
    }
public function metaTitle()
    {
        $context = $this->contextObject();
        $title   = null;

        if ($context instanceof HasMetatagInterface) {
            $title = (string)$context['meta_title'];
        }

        if (!$title) {
            $title = (string)$this->fallbackMetaTitle();
        }

        return $title;
    }
public function metaTitle ( ) { $ context = $ this -> contextObject ( ) ; $ title = null ; if ( $ context instanceof HasMetatagInterface ) { $ title = ( string ) $ context [ 'meta_title' ] ; } if ( ! $ title ) { $ title = ( string ) $ this -> fallbackMetaTitle ( ) ; } return $ title ; }
Retrieve the name or title of the object.

@return string|null
Retrieve the name or title of the object .