EmpireWishlistsExtension
class EmpireWishlistsExtension extends Twig_Extension
Class EmpireWishlistsExtension is injected as empire_wishlists_plugin.twig_extension service. EmpireWishlistsExtension handles the logic and provides necessary data for managed entity in twig.
Properties
| protected WishlistManager | $wishlistManager |
Methods
getFunctions()
{@inheritdoc}
mixed
getWishlists()
Get all wishlists for current user
mixed
getWishlistsForModal()
Get id and name for all wishlists of current user
string
getName()
Returns the name of the extension.
Details
at line 29
__construct(WishlistManager $wishlistManager)
at line 37
getFunctions()
{@inheritdoc}
at line 49
mixed
getWishlists()
Get all wishlists for current user
at line 62
mixed
getWishlistsForModal()
Get id and name for all wishlists of current user
at line 75
string
getName()
Returns the name of the extension.