| @@ 310-329 (lines=20) @@ | ||
| 307 | /** |
|
| 308 | * {@inheritdoc} |
|
| 309 | */ |
|
| 310 | protected function assignVariables() |
|
| 311 | { |
|
| 312 | $this->templateVariables = [ |
|
| 313 | 'area' => [ |
|
| 314 | 'showBreadcrumbs' => true |
|
| 315 | ], |
|
| 316 | 'siteTitle' => $this->get('translator')->trans( |
|
| 317 | 'acp.siteTitle', |
|
| 318 | ['globalTitle' => 'CoreBundle Test'], |
|
| 319 | 'TwoMartensCoreBundle' |
|
| 320 | ), |
|
| 321 | 'navigation' => [ |
|
| 322 | 'active' => 'user' |
|
| 323 | ], |
|
| 324 | 'success' => $this->success, |
|
| 325 | 'error' => $this->error, |
|
| 326 | 'errorMessage' => $this->errorMessage |
|
| 327 | ]; |
|
| 328 | parent::assignVariables(); |
|
| 329 | } |
|
| 330 | ||
| 331 | /** |
|
| 332 | * Updates the options of the given category and returns the roles. |
|
| @@ 263-282 (lines=20) @@ | ||
| 260 | /** |
|
| 261 | * {@inheritdoc} |
|
| 262 | */ |
|
| 263 | protected function assignVariables() |
|
| 264 | { |
|
| 265 | $this->templateVariables = [ |
|
| 266 | 'area' => [ |
|
| 267 | 'showBreadcrumbs' => true |
|
| 268 | ], |
|
| 269 | 'siteTitle' => $this->get('translator')->trans( |
|
| 270 | 'acp.siteTitle', |
|
| 271 | ['globalTitle' => 'CoreBundle Test'], |
|
| 272 | 'TwoMartensCoreBundle' |
|
| 273 | ), |
|
| 274 | 'navigation' => [ |
|
| 275 | 'active' => 'user' |
|
| 276 | ], |
|
| 277 | 'success' => $this->success, |
|
| 278 | 'error' => $this->error, |
|
| 279 | 'errorMessage' => $this->errorMessage |
|
| 280 | ]; |
|
| 281 | parent::assignVariables(); |
|
| 282 | } |
|
| 283 | ||
| 284 | /** |
|
| 285 | * Updates the group assignment of given user. |
|