app/presenters/tree_builder_configuration_manager.rb
# Get root nodes count/array for explorer tree
Get root nodes count/array for explorer tree
Get root nodes count / array for explorer tree
def x_get_tree_roots(count_only, _options)
    objects = []
    objects.push(:id            => "fr",
                 :tree          => "fr_tree",
                 :text          => _("Foreman Providers"),
                 :image         => "folder",
                 :tip           => _("Foreman Providers"),
                 :load_children => true)
    objects.push(:id            => "at",
                 :tree          => "at_tree",
                 :text          => _("Ansible Tower Providers"),
                 :image         => "folder",
                 :tip           => _("Ansible Tower Providers"),
                 :load_children => true)
    count_only_or_objects(count_only, objects, nil)
  end
def x_get_tree_roots ( count_only , _options ) objects = [ ] objects . push ( :id => "fr" , :tree => "fr_tree" , :text => _ ( "Foreman Providers" ) , :image => "folder" , :tip => _ ( "Foreman Providers" ) , :load_children => true ) objects . push ( :id => "at" , :tree => "at_tree" , :text => _ ( "Ansible Tower Providers" ) , :image => "folder" , :tip => _ ( "Ansible Tower Providers" ) , :load_children => true ) count_only_or_objects ( count_only , objects , nil ) end
Get root nodes count/array for explorer tree
Get root nodes count / array for explorer tree
count_only
<not_specific>
_options
<not_specific>