Skip to main content
backdrop Backdrop Forum
  • Welcome!
    • Login
    • Register
  • Forum
  • FAQ
  • Following
  • About
  • Wishlist
  1. Home »
  2. [DX][META] Introduce functions similar to views_get_views_as_options() for other things

[DX][META] Introduce functions similar to views_get_views_as_options() for other things

While working on https://github.com/backdrop-contrib/headless/issues/9, I noticed that we have views_get_views_as_options(), but there is no respective node_get_node_types_as_options() or taxonomy_get_vocabularies_as_options() etc.

We should introduce such functions to improve DX and provide consistency in code.

GitHub Link: 
https://github.com/backdrop/backdrop-issues/issues/3545
GitHub Issue #: 
3545
  • Log in or register to post comments

Weekly office hours

Bring your questions to our weekly virtual office hours, every Wednesday. Everyone is welcome.

Recent topics

July 9th, 2026 - Weekly Meetings

Posted 2 days 4 hours ago by Martin Price | System Horizons Ltd (yorkshirepudding) in Weekly Meetings

Let users search for NIDs?

Posted 2 days 21 hours ago by (opentype) in How-To and Troubleshooting

Between Dates Views Filter not functioning as expected

Posted 1 week 1 day ago by (onyx) in How-To and Troubleshooting

Recent comments

My suggestions, if there is time to look at recent bug reports: (1) Not sure if the fix for this issue still needs a code review to get labeled  as RTBC: Editor link autocomplete...

Posted 4 hours 56 min ago by Olaf Grabienski (Olafski) on:

July 9th, 2026 - Weekly Meetings

Also I would welcome feedback on the approach I've taken to: [A11Y] Update aria role on messages area based on type of messages (#5715)  

Posted 6 hours 56 min ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:

July 9th, 2026 - Weekly Meetings

[DX] Add layout machine name as a class to the body element (#7156) Two dashes -- or single dash - between label and value...

Posted 2 days 4 hours ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:

July 9th, 2026 - Weekly Meetings

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org