Issue #3323875: Add attributes to <ul>
2 open threads
Merge request reports
Activity
added 17 commits
-
04f96088...c32151f8 - 16 commits from branch
project:8.x-1.x
- 4c36180d - Issue #3323875: Add attributes to menu.
-
04f96088...c32151f8 - 16 commits from branch
added 2 commits
- tests/src/Functional/MenuAttributesTest.php 0 → 100644
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