public function SettingsForm::__construct in Ajax form entity 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 40 - Contains \Drupal\ajax_form_entity\Form\ExampleConfigForm.
Class
- SettingsForm
- Class SettingsForm.
Namespace
Drupal\ajax_form_entity\FormCode
public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManager $entity_type_manager, EntityTypeBundleInfo $entity_bundle_info) {
parent::__construct($config_factory);
$this->entityTypeManager = $entity_type_manager;
$this->entityBundleInfo = $entity_bundle_info;
}