You are here

public function HubspotFormsCore::isConnected in Hubspot forms 8

Check Hubspot connection.

File

src/HubspotFormsCore.php, line 84

Class

HubspotFormsCore
Class HubspotFormsCore.

Namespace

Drupal\hubspot_forms

Code

public function isConnected() {
  $forms = $this
    ->fetchHubspotForms();
  return count($forms);
}