Skip to content

liquid_page_link

Vladimir Krylov edited this page Oct 14, 2016 · 4 revisions

Links collection

Has the same methods as Default Collection.

Link methods

  • 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?