Skip to main content
Share Your Experience: Take the 2024 Developer Survey
1 vote
Accepted

Getting menu linkset items

As per the documentation, the endpoint is at /system/menu/[menu system name]/linkset with no /jsonapi prefix (as the routes are provided by the System module, not the JSON API module). So for a menu ...
Wongjn's user avatar
  • 146
1 vote

Proper way to get input field value with AJAX

So, you can provide not raw and validated way – Otto Matik The proper & safe way is to get them using $form_state->getValue('field_name') $field_source_values = $form_state->getValue('...
No Sssweat's user avatar
  • 31.3k

Only top scored, non community-wiki answers of a minimum length are eligible