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

Error when trying to check for updates

Posted 1 week 15 hours ago by (Enthusiast) in Requests and Feedback

Use visibility User by uid

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

How to Improve SEO Performance in Backdrop CMS

Posted 3 weeks 6 days ago by (Tech jainya) in How-To and Troubleshooting

Recent comments

There was a Layout Paragraphs update recently in the Backdrop news feed.

Posted 2 days 7 hours ago by laryn (laryn) on:

Layout Paragraphs?

Hi Enthusiast, I had that problem with a site a while back and in that case it was a hosting problem with IPv6, which didn't work properly on the server this site was on. I updated...

Posted 1 week 15 hours ago by (indigoxela) on:

Error when trying to check for updates

Hi. Welcome to Backdrop. Out of the box, there are two places you can set visibility by user ID and they are related: The layout configure screen under "Visibility conditions" (admin/structure/...

Posted 1 week 19 hours ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:

Use visibility User by uid

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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