You are here

public function BynderConfigurationForm::__construct in Bynder 8

Same name and namespace in other branches
  1. 8.3 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.

Overrides ConfigFormBase::__construct

File

src/Form/BynderConfigurationForm.php, line 61

Class

BynderConfigurationForm
Configure bynder to enable OAuth based access.

Namespace

Drupal\bynder\Form

Code

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