We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 510eb1f commit c73ecf2Copy full SHA for c73ecf2
src/Controller/AbstractAppController.php
@@ -180,6 +180,10 @@ private function populateMenu($entries)
180
{
181
$menu = [];
182
foreach ($entries as $entry) {
183
+ if (true === isset($entry['feature']) && false === $this->callManager->hasFeature($entry['feature'])) {
184
+ continue;
185
+ }
186
+
187
if (true === $this->isGranted($entry['attribute'], $entry['subject'])) {
188
$menu[] = [
189
'path' => $entry['path'],
0 commit comments