You are here

public function AdminSettings::__construct in Doubleclick for Publishers (DFP) 8

Constructs a \Drupal\dfp\Form\AdminSettings object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

Overrides ConfigFormBase::__construct

File

src/Form/AdminSettings.php, line 37
Contains \Drupal\dfp\Form\AdminSettings.

Class

AdminSettings
Defines a form that configures DFP global settings.

Namespace

Drupal\dfp\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeBundleInfoInterface $bundle_info) {
  parent::__construct($config_factory);
  $this->bundleInfo = $bundle_info;
}