This was initially requested in #1841, but that issue was repurposed to add icons to the Admin Bar. This issue here is the reincarnation of that original request:
We should allow icons to be used in menus. For Drupal, the Icon API module includes the icon_menu submodule that allows:
1. Selecting an icon (from whatever font is provided by the Icon API). Perhaps we should implement it as an auto-complete search field instead of a huge drop-down though.
2. Selecting to position the icon before or after the menu item title. Perhaps we should also allow replacing the menu item title with the icon as 3rd option. Use case for that: the home icon on the admin bar.
3. Render the icon in breadcrumbs or not.
4. Choose to wrap the title in an element tag or not (div or span - 4a) and also define classes for it (4b).
Recent comments
The block system and API in Backdrop is very different from Drupal's. In Backdrop, as in Drupal, modules can define blocks in code (in fact some of the API at this level is the same, with...
Drupal block module conversion
This was from examining line 2463- of the webform.module, where // Attach necessary JavaScript and CSS. $form['#attached'] = array( 'css' => array(backdrop_get_path('module', 'webform...
How do I diagnose Webform Conditionals failing?
d'oh. Because of course it is reassigning. Don't mind me... the correct syntax is $form['#attached']['js'][] = backdrop_get_path('module', 'mymodule') . '/mymodule.js';
How do I diagnose Webform Conditionals failing?