<?php | |||||
namespace Lc\ShopBundle\Services; | |||||
use CKSource\Bundle\CKFinderBundle\Authentication\Authentication as AuthenticationBase; | |||||
class CustomCKFinderAuth extends AuthenticationBase | |||||
{ | |||||
public function authenticate() | |||||
{ | |||||
return true; | |||||
} | |||||
} |
public function getProductCategories() | public function getProductCategories() | ||||
{ | { | ||||
$categories = $this->productCategoryRepository->findAllParents($this->merchantUtils->getMerchantCurrent()); | |||||
$categories = $this->productCategoryRepository->findAllParents(false); | |||||
return $categories; | return $categories; | ||||
} | } | ||||