'Link CMS Page', // 'product' => 'Catalog Products', // 'static' => 'Static Content', 'category' => 'Category Slug', ]; /** * Catalog Product Type * * @var array */ protected $catalog_type = [ 'new' => 'New Arrival', 'offer' => 'Offered Product [Special]', 'popular' => 'Popular Products', 'viewed' => 'Most Viewed', 'rated' => 'Most Rated', 'custom' => 'Custom Selection', ]; /** * CategoryRepository object * * @var \Webkul\Category\Repositories\CategoryRepository */ protected $categoryRepository; /** * Create a new instance. * * @param \Webkul\Category\Repositories\CategoryRepository $categoryRepository * @return void */ public function __construct(CategoryRepository $categoryRepository) { $this->categoryRepository = $categoryRepository; } /** * @return string */ public function getContentType() { return $this->content_type; } /** * @return string */ public function getCatalogType() { return $this->catalog_type; } }