-
Notifications
You must be signed in to change notification settings - Fork 1
liquid_page_link
Myroslava Stavnycha edited this page Jul 25, 2017
·
4 revisions
Has the same methods as Default Collection.
- id
- name
- handle
- menu - returns menu entity
- url -an URL where user will be guided
- object - returns real object of the link if persists
- object? - checks if link object exists
- index_action? - returns true if link will be to collection, like products page
- parent - returns parent link if have any. If don't have, then nil
- children
- children?
- style (type of the link: ['home', 'search', 'product', 'products', 'category', 'page', 'blog_posts', 'blog_post', 'collection', 'collections', 'custom', 'blank'])