public function BynderMediaUsage::__construct in Bynder 4.0.x
Same name and namespace in other branches
- 8.3 src/Controller/BynderMediaUsage.php \Drupal\bynder\Controller\BynderMediaUsage::__construct()
- 8 src/Controller/BynderMediaUsage.php \Drupal\bynder\Controller\BynderMediaUsage::__construct()
- 8.2 src/Controller/BynderMediaUsage.php \Drupal\bynder\Controller\BynderMediaUsage::__construct()
Constructs a BynderMediaUsage class instance.
Parameters
\Drupal\bynder\BynderApiInterface $bynder: The Bynder API service.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Config factory.
\Drupal\Core\Render\RendererInterface $renderer_object: Renderer object.
File
- src/
Controller/ BynderMediaUsage.php, line 51
Class
- BynderMediaUsage
- Controller contains methods for displaying Bynder media usage info.
Namespace
Drupal\bynder\ControllerCode
public function __construct(BynderApiInterface $bynder, ConfigFactoryInterface $config_factory, RendererInterface $renderer_object) {
$this->bynder = $bynder;
$this->configFactory = $config_factory;
$this->renderer = $renderer_object;
}