public function BynderConfigurationForm::__construct in Bynder 8.2
Same name and namespace in other branches
- 8.3 src/Form/BynderConfigurationForm.php \Drupal\bynder\Form\BynderConfigurationForm::__construct()
- 8 src/Form/BynderConfigurationForm.php \Drupal\bynder\Form\BynderConfigurationForm::__construct()
- 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\FormCode
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;
}