src/Charcoal/Admin/Widget/FormSidebarWidget.php
protected function defaultSidebarActions()
    {
        if ($this->defaultSidebarActions === null) {
            $this->defaultSidebarActions = [];

            if ($this->form()) {
                $save = [
                    'label'      => $this->form()->submitLabel(),
                    'ident'      => 'save',
                    'buttonType' => 'submit',
                    'priority'   => 90
                ];
                $this->defaultSidebarActions[] = $save;
            }
        }

        return $this->defaultSidebarActions;
    }
protected function defaultSidebarActions()
    {
        if ($this->defaultSidebarActions === null) {
            $this->defaultSidebarActions = [];

            if ($this->form()) {
                $save = [
                    'label'      => $this->form()->submitLabel(),
                    'ident'      => 'save',
                    'buttonType' => 'submit',
                    'priority'   => 90
                ];
                $this->defaultSidebarActions[] = $save;
            }
        }

        return $this->defaultSidebarActions;
    }
protected function defaultSidebarActions ( ) { if ( $ this -> defaultSidebarActions === null ) { $ this -> defaultSidebarActions = [ ] ; if ( $ this -> form ( ) ) { $ save = [ 'label' => $ this -> form ( ) -> submitLabel ( ) , 'ident' => 'save' , 'buttonType' => 'submit' , 'priority' => 90 ] ; $ this -> defaultSidebarActions [ ] = $ save ; } } return $ this -> defaultSidebarActions ; }
Retrieve the sidebar's default actions.

@return array
Retrieve the sidebar s default actions .