Crud\Action\DeleteAction::_success PHP Method

_success() protected method

Success callback
protected _success ( Crud\Event\Subject $subject ) : void
$subject Crud\Event\Subject Event subject
return void
    protected function _success(Subject $subject)
    {
        $subject->set(['success' => true]);
        $this->_trigger('afterDelete', $subject);
        $this->setFlash('success', $subject);
    }