src/Charcoal/Admin/Ui/SecondaryMenu/SecondaryMenuGroupTrait.php
public function collapsed()
    {
        $collapsed = $this->collapsible();

        if (is_bool($this->collapsed)) {
            $collapsed = $this->collapsed;
        }

        if (is_bool($this->isSelected())) {
            $collapsed = !$this->isSelected;
        }

        return $collapsed;
    }
public function collapsed()
    {
        $collapsed = $this->collapsible();

        if (is_bool($this->collapsed)) {
            $collapsed = $this->collapsed;
        }

        if (is_bool($this->isSelected())) {
            $collapsed = !$this->isSelected;
        }

        return $collapsed;
    }
public function collapsed ( ) { $ collapsed = $ this -> collapsible ( ) ; if ( is_bool ( $ this -> collapsed ) ) { $ collapsed = $ this -> collapsed ; } if ( is_bool ( $ this -> isSelected ( ) ) ) { $ collapsed = ! $ this -> isSelected ; } return $ collapsed ; }
Determine if the group is collapsed.

@return boolean
Determine if the group is collapsed .