You are here

public function PubSubModuleStatusChecker::isPublisher in Acquia Content Hub 8.2

Determines if publisher module is installed and enabled.

Return value

bool Is the module enabled?

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

File

src/PubSubModuleStatusChecker.php, line 41

Class

PubSubModuleStatusChecker
Utility class; encapsulates static general-purpose methods.

Namespace

Drupal\acquia_contenthub

Code

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