Is there a way to get the module working with the My Account and Login/Logout Menu Items?

Thanks in advance

Comments

Christopher Riley created an issue. See original summary.

lonalore’s picture

I think there is. I will look into it tomorrow.

  • lonalore committed 85feae0 on 8.x-1.x
    Issue #2856726 - Ability to set icons on menu_link items.
    
lonalore’s picture

Well I got it to work. Please update your module files to the latest dev version.

  • lonalore committed 23522ce on 8.x-1.x
    Issue #2856726 - Fix for cache-clearing issue.
    
lonalore’s picture

I fixed some bugs today. Please update your module files again. Then rebuild cache.

Christopher Riley’s picture

I am able to assign an icon now however I am getting the following notice:

Notice: Undefined offset: 1 in Drupal\Core\Menu\Form\MenuLinkDefaultForm->extractFormValues() (line 168 of core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php).

Drupal\Core\Menu\Form\MenuLinkDefaultForm->extractFormValues(Array, Object) (Line: 86)
fontawesome_menu_icons_form_menu_link_edit_alter(Array, Object, 'menu_link_edit') (Line: 501)
Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'menu_link_edit') (Line: 818)
Drupal\Core\Form\FormBuilder->prepareForm('menu_link_edit', Array, Object) (Line: 272)
Drupal\Core\Form\FormBuilder->buildForm('menu_link_edit', Object) (Line: 74)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 574)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
call_user_func_array(Object, Array) (Line: 144)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 64)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 99)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 78)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 652)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

  • lonalore committed 3ff34ee on 8.x-1.x
    Issue #2856726 Possible fix for PHP Notice.
    
lonalore’s picture

Thank you for your feedback. I hope my last commit fix it.

lonalore’s picture

Status: Active » Fixed
lonalore’s picture

Status: Fixed » Closed (fixed)