Piwik\Plugins\Marketplace\UpdateCommunication::isEnabled PHP Метод

isEnabled() публичный Метод

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
Результат boolean
    public function isEnabled()
    {
        if (!self::canBeEnabled()) {
            return false;
        }
        return $this->updaterSettings->sendPluginUpdateEmail->getValue();
    }