You are here

public function SettingsForm::__construct in Geolocation Address Link 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 33

Class

SettingsForm
Class SettingsForm.

Namespace

Drupal\geolocation_address_link\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityFieldManager $field_manager, EntityTypeBundleInfo $bundle_info) {
  parent::__construct($config_factory);
  $this->field_manager = $field_manager;
  $this->bundle_info = $bundle_info;
}