public function canShow()
    {
        if (is_null($this->getModel()->getKey())) {
            return false;
        }

        $this->show = ! $this->isTrashed() && $this->getModelConfiguration()->isDeletable($this->getModel());

        return parent::canShow();
    }
public function canShow()
    {
        if (is_null($this->getModel()->getKey())) {
            return false;
        }

        $this->show = ! $this->isTrashed() && $this->getModelConfiguration()->isDeletable($this->getModel());

        return parent::canShow();
    }
public function canShow ( ) { if ( is_null ( $ this -> getModel ( ) -> getKey ( ) ) ) { return false ; } $ this -> show = ! $ this -> isTrashed ( ) && $ this -> getModelConfiguration ( ) -> isDeletable ( $ this -> getModel ( ) ) ; return parent :: canShow ( ) ; }
Show policy.
@return bool
Show policy .