RuntimeException error when attempting to implement hook_menu_local_tasks_alter to hide user profile tabs

 I am trying (without success) to hide some user profile tabs,

Everything I've read indicates that it should be straightforward.

I'm running Drupal 8.8.7.

I have created a custom module, which for testing purposes contains the following in the .module file:

Installing code snippet for Intercom integration

I own a fledgling startup with a Drupal 8 website connected. We have an excellent developer however he is busy on other projects and expensive for a startup. I am therefore trying to educate myself on being able to do minor tasks and have managed to integrate Intercom with Tribe, however the Drupal site is another beast altogether.

Commerce 2.x cart icon

Hello, I'm looking for a easy way to show on my template a cart icon only if cart has some elements ; I've tried with views, but

had problems to identify the cart associated to the current (normally anonymous) user.

Does that easy way exists ? Or can anyone point me to the right direction / documentation ? I've searched on Commerce 2.x docs,

but didn't find anything on this point (I don't want to show the cart, only show an icon when the cart exists and has more than 0 elements)

Thank you

Marco

IRD - Le Mag' and the institutional website - Build

In 2019, the Institute of Research and Development (IRD) is celebrating its 75th anniversary. It was the opportunity for the institute to rebuild its institutional website and to create a new website as a scientific news platform called : “IRD Le Mag’”: https://lemag.ird.fr/

Sectors: 
Education
Healthcare
Non-profit
Social Networking

RNG module

Hi guys,

in the option of creating events where participants pay participation fees, I stumbled upon the drupal rng module in version 3.0.0-alpha that I installed on drupal 8.8.6. except that I have a lot of problems with this module. with after creating a type of event content that I associated with the event type of rng. when i create an event with the register button when i click on it i get this error

See all the tabs and not just 3 dots

When I edit content or use anything in the admin/back end rather than seeing all the normal tabs 

View | Edit | Display field | Delete

I just see one of the tabs and the others all go off to the right.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x