src/admin/pages/AdminPage.php
public function removeMode ($mode)
    {
        if ($mode instanceof AdminPageMode)
            $mode = $mode->getSlug();
        unset($this->modes[$mode]);
    }
public function removeMode ($mode)
    {
        if ($mode instanceof AdminPageMode)
            $mode = $mode->getSlug();
        unset($this->modes[$mode]);
    }
public function removeMode ( $ mode ) { if ( $ mode instanceof AdminPageMode ) $ mode = $ mode -> getSlug ( ) ; unset ( $ this -> modes [ $ mode ] ) ; }
Removes a display mode

@param AdminPageMode|string $mode
Removes a display mode