src/Charcoal/Admin/Widget/SecondaryMenuWidget.php
public function title()
    {
        if ($this->title === null) {
            $ident    = $this->ident();
            $metadata = $this->adminSecondaryMenu();

            $this->title = '';

            if (isset($metadata[$ident]['title'])) {
                $this->setTitle($metadata[$ident]['title']);
            }
        }

        return $this->title;
    }
public function title()
    {
        if ($this->title === null) {
            $ident    = $this->ident();
            $metadata = $this->adminSecondaryMenu();

            $this->title = '';

            if (isset($metadata[$ident]['title'])) {
                $this->setTitle($metadata[$ident]['title']);
            }
        }

        return $this->title;
    }
public function title ( ) { if ( $ this -> title === null ) { $ ident = $ this -> ident ( ) ; $ metadata = $ this -> adminSecondaryMenu ( ) ; $ this -> title = '' ; if ( isset ( $ metadata [ $ ident ] [ 'title' ] ) ) { $ this -> setTitle ( $ metadata [ $ ident ] [ 'title' ] ) ; } } return $ this -> title ; }
Retrieve the title of the secondary menu.

@return \Charcoal\Translator\Translation|string|null
Retrieve the title of the secondary menu .