You are here

public static function MultidomainGoogleAnalyticsAdminSettingsForm::create in Multidomain Google Analytics 8

Same name and namespace in other branches
  1. 8.2 src/Form/MultidomainGoogleAnalyticsAdminSettingsForm.php \Drupal\multidomain_google_analytics\Form\MultidomainGoogleAnalyticsAdminSettingsForm::create()

Create function return static domain loader configuration.

Parameters

Symfony\Component\DependencyInjection\ContainerInterface $container: Load the ContainerInterface.

Return value

\static return domain loader configuration.

Overrides ConfigFormBase::create

File

src/Form/MultidomainGoogleAnalyticsAdminSettingsForm.php, line 54

Class

MultidomainGoogleAnalyticsAdminSettingsForm
Configure Google_Analytics settings for this site.

Namespace

Drupal\multidomain_google_analytics\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('config.factory'), $container
    ->get('domain.loader'));
}