public function Acquiadam::__construct in Media: Acquia DAM 8
Same name in this branch
- 8 src/Acquiadam.php \Drupal\media_acquiadam\Acquiadam::__construct()
- 8 src/Plugin/EntityBrowser/Widget/Acquiadam.php \Drupal\media_acquiadam\Plugin\EntityBrowser\Widget\Acquiadam::__construct()
Acquiadam constructor.
File
- src/
Plugin/ EntityBrowser/ Widget/ Acquiadam.php, line 100
Class
- Acquiadam
- Uses a view to provide entity listing in a browser's widget.
Namespace
Drupal\media_acquiadam\Plugin\EntityBrowser\WidgetCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EventDispatcherInterface $event_dispatcher, EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager, WidgetValidationManager $validation_manager, AcquiadamInterface $acquiadam, AccountInterface $account, LanguageManagerInterface $languageManager, ModuleHandlerInterface $moduleHandler, MediaSourceManager $sourceManager, UserDataInterface $userData, RequestStack $requestStack, ConfigFactoryInterface $config) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $event_dispatcher, $entity_type_manager, $validation_manager);
$this->acquiadam = $acquiadam;
$this->user = $account;
$this->languageManager = $languageManager;
$this->moduleHandler = $moduleHandler;
$this->sourceManager = $sourceManager;
$this->entityFieldManager = $entity_field_manager;
$this->userData = $userData;
$this->requestStack = $requestStack;
$this->config = $config;
}