You are here

public function PubSubModuleStatusChecker::isSubscriber in Acquia Content Hub 8.2

Determines if subscriber module is installed and enabled.

Return value

bool Is the module enabled?

1 call to PubSubModuleStatusChecker::isSubscriber()
PubSubModuleStatusChecker::siteHasDualConfiguration in src/PubSubModuleStatusChecker.php
Checks if site has dual configuration (pub/sub).

File

src/PubSubModuleStatusChecker.php, line 51

Class

PubSubModuleStatusChecker
Utility class; encapsulates static general-purpose methods.

Namespace

Drupal\acquia_contenthub

Code

public function isSubscriber() : bool {
  return $this
    ->moduleEnabled(self::ACQUIA_CONTENTHUB_SUBSCRIBER_MODULE_ID);
}