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

Weekly dev meetings to focus on top wish list items start March 26, 2026.

Posted 1 week 1 day ago by (izmeez) in Weekly Meetings

Commerce modules

Posted 1 week 4 days ago by (Jochen_K) in Requests and Feedback

How often is the settings.php loaded.

Posted 2 weeks 1 day ago by (spjsche) in Installation Questions

Recent comments

Hi Kevin I am interested assisting you developing a theme by cloning feature from  existing WordPress website.  Please let me know your suitable time to discuss further...

Posted 3 days 2 hours ago by Deep Vyas (deepvyas) on:

Create a theme from existing website

I've updated the Zulip link in both places I found it. No need to post again, unless you have something new to say. We'll pull together feedback from all the sources.

Posted 3 days 7 hours ago by (stpaultim) on:

Backdrop CMS Core Priorities

Should we post here again, what we posted over there? Or would that unnecessarily duplicate things? The link to a Zulip thread in this initial post leads to an internal one, but there's...

Posted 3 days 10 hours ago by (indigoxela) on:

Backdrop CMS Core Priorities

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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