Elcodi\Admin\ProductBundle\Controller\ProductController::disableAction PHP Méthode

disableAction() public méthode

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
Résultat array Result
    public function disableAction(Request $request, EnabledInterface $entity)
    {
        return parent::disableAction($request, $entity);
    }