You are here

public function MenuPerRoleAdminSettings::__construct in Menu Per Role 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.

Overrides ConfigFormBase::__construct

File

src/Form/MenuPerRoleAdminSettings.php, line 66

Class

MenuPerRoleAdminSettings
Menu Per Role administration form.

Namespace

Drupal\menu_per_role\Form

Code

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