original_string: public function render_skip_links($links) {
          $context = [ 'links' => []];
  
          foreach ($links as $url => $text) {
              $context['links'][] = [ 'url' => $url, 'text' => $text];
          }
  
          return $this->render_from_template('core/skip_links', $context);
      }
code: public function render_skip_links($links) {
          $context = [ 'links' => []];
  
          foreach ($links as $url => $text) {
              $context['links'][] = [ 'url' => $url, 'text' => $text];
          }
  
          return $this->render_from_template('core/skip_links', $context);
      }
code_tokens: public function render_skip_links ( $ links ) { $ context = [ 'links' => [ ] ] ; foreach ( $ links as $ url => $ text ) { $ context [ 'links' ] [ ] = [ 'url' => $ url , 'text' => $ text ] ; } return $ this -> render_from_template ( 'core/skip_links' , $ context ) ; }
docstring: Renders the skip links for the page.
  
  @param array $links List of skip links.
  @return string HTML for the skip links.
docstring_tokens: Renders the skip links for the page .