original_string: protected function setBackendData()
      {
          $this->data['_job'] = $this->getWidgetJob($this->job);
          $this->data['_stores'] = (array) $this->store->getList();
          $this->data['_menu'] = $this->getWidgetAdminMenu($this->route);
          $this->data['_help'] = $this->help->getByPattern($this->current_route['simple_pattern'], $this->langcode);
  
          $bookmarks = $this->bookmark->getList(array('user_id' => $this->uid));
  
          $this->data['_is_bookmarked'] = isset($bookmarks[$this->path]);
          $this->data['_bookmarks'] = array_splice($bookmarks, 0, $this->config('bookmark_limit', 5));
      }
code: protected function setBackendData()
      {
          $this->data['_job'] = $this->getWidgetJob($this->job);
          $this->data['_stores'] = (array) $this->store->getList();
          $this->data['_menu'] = $this->getWidgetAdminMenu($this->route);
          $this->data['_help'] = $this->help->getByPattern($this->current_route['simple_pattern'], $this->langcode);
  
          $bookmarks = $this->bookmark->getList(array('user_id' => $this->uid));
  
          $this->data['_is_bookmarked'] = isset($bookmarks[$this->path]);
          $this->data['_bookmarks'] = array_splice($bookmarks, 0, $this->config('bookmark_limit', 5));
      }
code_tokens: protected function setBackendData ( ) { $ this -> data [ '_job' ] = $ this -> getWidgetJob ( $ this -> job ) ; $ this -> data [ '_stores' ] = ( array ) $ this -> store -> getList ( ) ; $ this -> data [ '_menu' ] = $ this -> getWidgetAdminMenu ( $ this -> route ) ; $ this -> data [ '_help' ] = $ this -> help -> getByPattern ( $ this -> current_route [ 'simple_pattern' ] , $ this -> langcode ) ; $ bookmarks = $ this -> bookmark -> getList ( array ( 'user_id' => $ this -> uid ) ) ; $ this -> data [ '_is_bookmarked' ] = isset ( $ bookmarks [ $ this -> path ] ) ; $ this -> data [ '_bookmarks' ] = array_splice ( $ bookmarks , 0 , $ this -> config ( 'bookmark_limit' , 5 ) ) ; }
docstring: Sets default variables for backend templates
docstring_tokens: Sets default variables for backend templates