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

            if (isset($metadata[$ident]['display_type'])) {
                $this->setDisplayType($metadata[$ident]['display_type']);
            } else {
                $this->displayType = '';
            }
        }

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

            if (isset($metadata[$ident]['display_type'])) {
                $this->setDisplayType($metadata[$ident]['display_type']);
            } else {
                $this->displayType = '';
            }
        }

        return $this->displayType;
    }
public function displayType ( ) { if ( $ this -> displayType === null ) { $ ident = $ this -> ident ( ) ; $ metadata = $ this -> adminSecondaryMenu ( ) ; if ( isset ( $ metadata [ $ ident ] [ 'display_type' ] ) ) { $ this -> setDisplayType ( $ metadata [ $ ident ] [ 'display_type' ] ) ; } else { $ this -> displayType = '' ; } } return $ this -> displayType ; }
Retrieve the display type of the secondary menu's contents.

@return string|null
Retrieve the display type of the secondary menu s contents .