Menu UI sections links
2 unresolved threads
2 unresolved threads
Closes #3419151
Merge request reports
Activity
added 1 commit
- d686ea40 - fix property name so trait uses it, remove visibility so php doesnt 'splode
- Resolved by dpi
- Resolved by dpi
- Resolved by dpi
- Resolved by dpi
- Resolved by Lee Rowlands
- src/WorkbenchAccessMenuLinks.php 0 → 100644
30 private readonly RouteProviderInterface $routeProvider, 31 private readonly EntityTypeManagerInterface $entityTypeManager, 32 private readonly AccountInterface $currentUser, 33 TranslationInterface $stringTranslation, 34 ) { 35 $this->setStringTranslation($stringTranslation); 36 } 37 38 /** 39 * Implements hook_form_alter(). 40 */ 41 public function formAlter(&$form, FormStateInterface $form_state, $form_id): void { 42 if ($form_id !== 'menu_edit_form') { 43 return; 44 } 45 - Resolved by dpi
- src/WorkbenchAccessMenuLinks.php 0 → 100644
184 } 185 } 186 } 187 188 /** 189 * Gets canonical routes for entity types. 190 * 191 * Code is similar to how entity_route_context reverse engineers paths from 192 * link templates to routes. 193 * 194 * @return array<string, string> 195 * Entity type ID keyed by canonical route name. 196 */ 197 private function getEntityTypeRoutes(): array { 198 $entityPaths = []; 199 foreach ($this->entityTypeManager->getDefinitions() as $entityType) { added 1 commit
- 8c9bc53a - feedback, improve access denied for link + tests, moved views test fixtures to...
Please register or sign in to reply