public function BynderWidgetBase::__construct in Bynder 8
Same name and namespace in other branches
- 8.3 src/Plugin/EntityBrowser/Widget/BynderWidgetBase.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderWidgetBase::__construct()
- 8.2 src/Plugin/EntityBrowser/Widget/BynderWidgetBase.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderWidgetBase::__construct()
- 4.0.x src/Plugin/EntityBrowser/Widget/BynderWidgetBase.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderWidgetBase::__construct()
BynderWidgetBase constructor.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: Event dispatcher service.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.
\Drupal\entity_browser\WidgetValidationManager $validation_manager: The Widget Validation Manager service.
\Drupal\bynder\BynderApiInterface $bynder_api: Bynder API service.
\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: Logger factory.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
2 calls to BynderWidgetBase::__construct()
- BynderSearch::__construct in src/
Plugin/ EntityBrowser/ Widget/ BynderSearch.php - BynderSearch constructor.
- BynderUpload::__construct in src/
Plugin/ EntityBrowser/ Widget/ BynderUpload.php - Upload constructor.
2 methods override BynderWidgetBase::__construct()
- BynderSearch::__construct in src/
Plugin/ EntityBrowser/ Widget/ BynderSearch.php - BynderSearch constructor.
- BynderUpload::__construct in src/
Plugin/ EntityBrowser/ Widget/ BynderUpload.php - Upload constructor.
File
- src/
Plugin/ EntityBrowser/ Widget/ BynderWidgetBase.php, line 87
Class
- BynderWidgetBase
- Base class for Bynder Entity browser widgets.
Namespace
Drupal\bynder\Plugin\EntityBrowser\WidgetCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EventDispatcherInterface $event_dispatcher, EntityTypeManagerInterface $entity_type_manager, WidgetValidationManager $validation_manager, BynderApiInterface $bynder_api, LoggerChannelFactoryInterface $logger_factory, LanguageManagerInterface $language_manager, RequestStack $request_stack, ConfigFactoryInterface $config_factory) {
$this->bynderApi = $bynder_api;
$this->loggerFactory = $logger_factory;
$this->languageManager = $language_manager;
$this->requestStack = $request_stack;
$this->config = $config_factory;
parent::__construct($configuration, $plugin_id, $plugin_definition, $event_dispatcher, $entity_type_manager, $validation_manager);
}