src/Intraface/Controller/Restricted.php 1 location
|
@@ 224-228 (lines=5) @@
|
| 221 |
|
$access = true; |
| 222 |
|
} |
| 223 |
|
|
| 224 |
|
if ($access) { |
| 225 |
|
$this->submenu[$j]['name'] = $this->t($all_submenu[$i]['label']); |
| 226 |
|
$this->submenu[$j]['url'] = $this->primary_module->getPath(). $all_submenu[$i]['url']; |
| 227 |
|
$j++; |
| 228 |
|
} |
| 229 |
|
} |
| 230 |
|
} |
| 231 |
|
} |
src/Intraface/Page.php 1 location
|
@@ 135-139 (lines=5) @@
|
| 132 |
|
$access = true; |
| 133 |
|
} |
| 134 |
|
|
| 135 |
|
if ($access) { |
| 136 |
|
$this->submenu[$j]['name'] = $this->t($all_submenu[$i]['label'], $this->primary_module->getName()); |
| 137 |
|
$this->submenu[$j]['url'] = $this->primary_module->getPath(). $all_submenu[$i]['url']; |
| 138 |
|
$j++; |
| 139 |
|
} |
| 140 |
|
} |
| 141 |
|
} |
| 142 |
|
} |