original_string: public function onGetTemplateList()
      {
          $this->validateRequestTheme();
  
          $page = Page::inTheme($this->theme);
          return [
              'layouts' => $page->getLayoutOptions()
          ];
      }
code: public function onGetTemplateList()
      {
          $this->validateRequestTheme();
  
          $page = Page::inTheme($this->theme);
          return [
              'layouts' => $page->getLayoutOptions()
          ];
      }
code_tokens: public function onGetTemplateList ( ) { $ this -> validateRequestTheme ( ) ; $ page = Page :: inTheme ( $ this -> theme ) ; return [ 'layouts' => $ page -> getLayoutOptions ( ) ] ; }
docstring: Returns list of available templates
  @return array
docstring_tokens: Returns list of available templates