/** * @param array $basicBlockConfiguration * @param ContentTypeRepositoryInterface $contentTypeRepository * @param ContentRepositoryInterface $contentRepository * @param UrlGeneratorInterface $router * @param ContextManager $context */ public function __construct(array $basicBlockConfiguration, ContentTypeRepositoryInterface $contentTypeRepository, ContentRepositoryInterface $contentRepository, $router, ContextManager $context) { parent::__construct($basicBlockConfiguration); $this->contentTypeRepository = $contentTypeRepository; $this->contentRepository = $contentRepository; $this->router = $router; $this->context = $context; }
/** * @param array $basicBlockConfiguration * @param TranslatorInterface $translator * @param array $thumbnailConfiguration */ public function __construct(array $basicBlockConfiguration, TranslatorInterface $translator, array $thumbnailConfiguration) { parent::__construct($basicBlockConfiguration); $this->translator = $translator; $this->thumbnailConfiguration = $thumbnailConfiguration; }