Class: FavoriteCategoryFactory

FavoriteCategoryFactory

Creates a Favorites category in the categorylist class.

Methods

getFavoriteCategory(Category, parentCategoryList) → {Object}

Creates and returns a category named Favorites.
Parameters:
Name Type Description
Category Class Category class type extended to create the Favorites category.
parentCategoryList Object Category list that contains the Favorites category.
Returns:
Favorites category object
Type
Object