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

Prevent Backdrop from sending emails

Posted 3 days 9 hours ago by (Peter.B.Eriksen) in How-To and Troubleshooting

Layout also for /node/add/ forms?

Posted 3 days 9 hours ago by (Peter.B.Eriksen) in How-To and Troubleshooting

Commerce shop system from Drupal

Posted 5 days 2 hours ago by (Peter.B.Eriksen) in How-To and Troubleshooting

Recent comments

PayPal Checkout works too!

Posted 1 day 28 min ago by (Peter.B.Eriksen) on:

Commerce shop system from Drupal

nice find! the links for the most recently updated issues in the core and contrib queues are a great way to stay on top of things—especially now that the feature freeze is just around the corner...

Posted 1 day 20 hours ago by (harold 112) on:

Seeing what issues are new

A simple way — use Field Group to create a container for fields https://backdropcms.org/project/field_group and CSS Flex оr Grid to alignment. You can also create Fieldsets to...

Posted 2 days 3 hours ago by (Enthusiast) on:

Layout also for /node/add/ forms?

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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