You are here

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

Class

BetterFieldDescriptionsEntitiesForm
Displays the better_field_descriptions_entities settings form.

Namespace

Drupal\better_field_descriptions\Form

Code

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