Newscoop\Services\Plugins\ManagerService::disablePlugin PHP Method

disablePlugin() public method

Disable plugin
public disablePlugin ( Plugin $plugin )
$plugin Newscoop\Entity\Plugin
    public function disablePlugin(Plugin $plugin)
    {
        $this->dispatcher->dispatch('plugin.disable', new GenericEvent($this, array('plugin_name' => $plugin->getName(), 'plugin' => $plugin)));
    }