public function CarouselService::__construct in bootstrap simple carousel 8
CarouselService constructor.
Parameters
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity manager interface.
File
- src/
Service/ CarouselService.php, line 42
Class
- CarouselService
- CarouselService Class.
Namespace
Drupal\bootstrap_simple_carousel\ServiceCode
public function __construct(RendererInterface $renderer, EntityTypeManagerInterface $entityTypeManager) {
$this->renderer = $renderer;
$this->file = $entityTypeManager
->getStorage('file');
}