You are here

public function AvailableEntitiesConfigurationForm::__construct in Menu Token 9.1.x

Same name and namespace in other branches
  1. 8 src/Form/AvailableEntitiesConfigurationForm.php \Drupal\menu_token\Form\AvailableEntitiesConfigurationForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

Overrides ConfigFormBase::__construct

File

src/Form/AvailableEntitiesConfigurationForm.php, line 29

Class

AvailableEntitiesConfigurationForm
Class AvailableEntitiesConfigurationForm.

Namespace

Drupal\menu_token\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager) {
  parent::__construct($config_factory);
  $this->entityTypeManager = $entity_type_manager;
}