You are here

public function ModerationSidebarSettingsForm::__construct in Moderation Sidebar 8

Constructs a ModerationSidebarSettingsForm object.

Parameters

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

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

Overrides ConfigFormBase::__construct

File

src/Form/ModerationSidebarSettingsForm.php, line 31

Class

ModerationSidebarSettingsForm
Configure Moderation Sidebar settings for this site.

Namespace

Drupal\moderation_sidebar\Form

Code

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