You are here

public function BetterFieldDescriptionsFieldsForm::__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/BetterFieldDescriptionsFieldsForm.php, line 35

Class

BetterFieldDescriptionsFieldsForm
Displays the better_field_descriptions_fields 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;
}