Elcodi\Admin\CouponBundle\Controller\CouponController::disableAction PHP Method

disableAction() public method

Disable entity
public disableAction ( Request $request, Elcodi\Component\Core\Entity\Interfaces\EnabledInterface $entity ) : array
$request Symfony\Component\HttpFoundation\Request Request
$entity Elcodi\Component\Core\Entity\Interfaces\EnabledInterface Entity to disable
return array Result
    public function disableAction(Request $request, EnabledInterface $entity)
    {
        return parent::disableAction($request, $entity);
    }