You are here

public function BetterFieldDescriptionsSettingsForm::__construct in Better Field Descriptions 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/BetterFieldDescriptionsSettingsForm.php, line 35

Class

BetterFieldDescriptionsSettingsForm
Displays the better_field_descriptions settings form.

Namespace

Drupal\better_field_descriptions\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityFieldManager $entityFieldManager, EntityTypeBundleInfoInterface $bundle_info_service) {
  parent::__construct($config_factory);
  $this->entityFieldManager = $entityFieldManager;
  $this->bundleInfoService = $bundle_info_service;
}