Method: Scrivito::BasicObj#children

Defined in:
app/cms/scrivito/basic_obj.rb

#childrenArray<Obj>

Returns a list of all child Objs.

Returns:



487
488
489
490
491
# File 'app/cms/scrivito/basic_obj.rb', line 487

def children
  return [] unless path

  workspace.objs.find_by_parent_path(path)
end