original_string: public function get_siblings() {
          // Returns a list of the siblings of the current node for display in a flat navigation element. Either
          // the in-page links or the breadcrumb links.
          $siblings = false;
  
          if ($this->has_siblings()) {
              $siblings = [];
              foreach ($this->parent->children as $child) {
                  if ($child->display) {
                      $siblings[] = $child;
                  }
              }
          }
          return $siblings;
      }
code: public function get_siblings() {
          // Returns a list of the siblings of the current node for display in a flat navigation element. Either
          // the in-page links or the breadcrumb links.
          $siblings = false;
  
          if ($this->has_siblings()) {
              $siblings = [];
              foreach ($this->parent->children as $child) {
                  if ($child->display) {
                      $siblings[] = $child;
                  }
              }
          }
          return $siblings;
      }
code_tokens: public function get_siblings ( ) { // Returns a list of the siblings of the current node for display in a flat navigation element. Either // the in-page links or the breadcrumb links. $ siblings = false ; if ( $ this -> has_siblings ( ) ) { $ siblings = [ ] ; foreach ( $ this -> parent -> children as $ child ) { if ( $ child -> display ) { $ siblings [ ] = $ child ; } } } return $ siblings ; }
docstring: Get a list of sibling navigation nodes at the same level as this one.
  
  @return bool|array of navigation_node
docstring_tokens: Get a list of sibling navigation nodes at the same level as this one .