You are here

public function GoogleAnalyticsAccounts::getAdditionalAccounts in Google Analytics 4.x

File

src/Helpers/GoogleAnalyticsAccounts.php, line 79

Class

GoogleAnalyticsAccounts

Namespace

Drupal\google_analytics\Helpers

Code

public function getAdditionalAccounts() {
  return array_filter($this->accounts, function ($v) {
    return $v !== $this
      ->getDefaultMeasurementId();
  });
}