public function confirmDelete()
    {
        if (null === $this->confirm_delete) {
            return (bool) config('cms-models.defaults.confirm_delete', false);
        }

        return (bool) $this->confirm_delete;
    }
public function confirmDelete()
    {
        if (null === $this->confirm_delete) {
            return (bool) config('cms-models.defaults.confirm_delete', false);
        }

        return (bool) $this->confirm_delete;
    }
public function confirmDelete ( ) { if ( null === $ this -> confirm_delete ) { return ( bool ) config ( 'cms-models.defaults.confirm_delete' , false ) ; } return ( bool ) $ this -> confirm_delete ; }
Returns whether deletions should be confirmed by the user.

@return bool
Returns whether deletions should be confirmed by the user .