You are here

public function AcsfThemeNotify::isEnabled in Acquia Cloud Site Factory Connector 8.2

Same name and namespace in other branches
  1. 8 src/AcsfThemeNotify.php \Drupal\acsf\AcsfThemeNotify::isEnabled()

Indicates whether theme notifications are enabled.

If this method returns FALSE, theme notifications will not be sent to the Site Factory.

Return value

bool TRUE if notifications are enabled; FALSE otherwise.

2 calls to AcsfThemeNotify::isEnabled()
AcsfThemeNotify::processNotifications in src/AcsfThemeNotify.php
Resends failed theme notifications.
AcsfThemeNotify::sendNotification in src/AcsfThemeNotify.php
Sends a theme notification to the Factory.

File

src/AcsfThemeNotify.php, line 197

Class

AcsfThemeNotify
Manages theme notifications that need to be sent to the Factory.

Namespace

Drupal\acsf

Code

public function isEnabled() {
  return $this->acsfVarStorage
    ->get('acsf_theme_enabled', TRUE);
}