You are here

public function SettingsForm::__construct in bootstrap simple carousel 8

SettingsForm constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Config factory.

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

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 40

Class

SettingsForm
Class SettingsForm.

Namespace

Drupal\bootstrap_simple_carousel\Form

Code

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