public function PubSubModuleStatusChecker::siteHasDualConfiguration in Acquia Content Hub 8.2
Checks if site has dual configuration (pub/sub).
Return value
bool Are both modules enabled?
File
- src/
PubSubModuleStatusChecker.php, line 61
Class
- PubSubModuleStatusChecker
- Utility class; encapsulates static general-purpose methods.
Namespace
Drupal\acquia_contenthubCode
public function siteHasDualConfiguration() : bool {
return $this
->isSubscriber() && $this
->isPublisher();
}