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

            $this->description = '';

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

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

            $this->description = '';

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

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

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