Method | Description | |
---|---|---|
__construct ( Sylius\Bundle\ChannelBundle\Doctrine\ORM\ChannelRepository $repository ) | ||
onChannelPreDelete ( Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event ) | Prevent channel deletion if no more channels enabled. |
public __construct ( Sylius\Bundle\ChannelBundle\Doctrine\ORM\ChannelRepository $repository ) | ||
$repository | Sylius\Bundle\ChannelBundle\Doctrine\ORM\ChannelRepository |
public onChannelPreDelete ( Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event ) | ||
$event | Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent |