You are here

public function BynderConfigurationForm::__construct in Bynder 8.3

Same name and namespace in other branches
  1. 8 src/Form/BynderConfigurationForm.php \Drupal\bynder\Form\BynderConfigurationForm::__construct()
  2. 8.2 src/Form/BynderConfigurationForm.php \Drupal\bynder\Form\BynderConfigurationForm::__construct()
  3. 4.0.x src/Form/BynderConfigurationForm.php \Drupal\bynder\Form\BynderConfigurationForm::__construct()

Constructs a BynderConfigurationForm object.

Parameters

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

\Drupal\bynder\BynderApiInterface $bynder: The Bynder API service.

\Drupal\Core\Render\RendererInterface $renderer: The renderer service.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.

Overrides ConfigFormBase::__construct

File

src/Form/BynderConfigurationForm.php, line 70

Class

BynderConfigurationForm
Configure bynder to enable OAuth based access.

Namespace

Drupal\bynder\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, BynderApiInterface $bynder, RendererInterface $renderer, ModuleHandlerInterface $module_handler) {
  parent::__construct($config_factory);
  $this->bynder = $bynder;
  $this->renderer = $renderer;
  $this->moduleHandler = $module_handler;
}