Piwik\Plugins\Marketplace\UpdateCommunication::isEnabled PHP Method

isEnabled() public method

Checks whether plugin update notification is enabled or not. If the marketplace is disabled or if update communication is disabled in general, it will return false as well.
public isEnabled ( ) : boolean
return boolean
    public function isEnabled()
    {
        if (!self::canBeEnabled()) {
            return false;
        }
        return $this->updaterSettings->sendPluginUpdateEmail->getValue();
    }