Skip to content
Snippets Groups Projects

Issue #3323875: Add attributes to <ul>

Merge request reports

Members who can merge are allowed to add commits.
Code Quality is loading
Test summary results are being parsed
Ready to merge by members who can write to the target branch.
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
20 'menu_link_attributes',
21 'menu_ui',
22 'test_page_test',
23 ];
24
25 /**
26 * {@inheritdoc}
27 */
28 protected $defaultTheme = 'stark';
29
30 /**
31 * Tests attributes are displayed correctly in a menu.
32 */
33 public function testMenuAttributesForm(): void {
34 $menu = Menu::load('main');
35 $menu->setThirdPartySetting('menu_link_attributes', 'attributes', [
  • 264 280 }
    265 281 }
    266 282 }
    283
    284 /**
    285 * Implements hook_form_BASE_FORM_ID_alter().
    286 */
    287 function menu_link_attributes_form_menu_form_alter(array &$form, FormStateInterface $form_state) {
    Please register or sign in to reply
    Loading