| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function treeAction() |
||
| 34 | { |
||
| 35 | $pages = Repository::getPageRepository($this->getDoctrine(), $this->params->get('pwc.entity_page')) |
||
| 36 | ->getPagesWithoutParent(); |
||
| 37 | |||
| 38 | return $this->renderWithExtraParams('@pwcAdmin/page_treeView.html.twig', [ |
||
| 39 | 'pages' => $pages, |
||
| 40 | 'list' => $this->admin->getList(), |
||
| 41 | 'admin' => $this->admin, |
||
| 42 | 'base_template' => $this->getBaseTemplate(), |
||
| 43 | 'action' => 'list', |
||
| 44 | ]); |
||
| 47 |