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

Language negotiation only working when logged in

Posted 2 days 19 hours ago by (redjives) in How-To and Troubleshooting

How to monetize a Backdrop site

Posted 1 week 3 hours ago by (Ph882) in How-To and Troubleshooting

Update Report thows "Access denied You are not authorized to access this page."

Posted 2 weeks 8 hours ago by (ian) in How-To and Troubleshooting

Recent comments

Thank you for the suggestion and for helping clarify the possible relation between user status and newsletter subscriptions.  I followed your advice and opened an issue in the...

Posted 2 days 2 hours ago by Antony Milenkov (amilenkov) on:

Re-enable Simplenews newsletter subscriptions that had been erroneously disabled

@Amilenkov, I agree with your thoughts regarding the relation between subscription and user status. Are you up to open an issue report in the Simplenews issue queue with the suggestion to make...

Posted 2 days 14 hours ago by Olaf Grabienski (Olafski) on:

Re-enable Simplenews newsletter subscriptions that had been erroneously disabled

Usually, I use the detection methods "URL" and "Default", and I'm not very experienced with the "Browser" method. So I've tested your combination of detection methods, and the languages switched...

Posted 2 days 14 hours ago by Olaf Grabienski (Olafski) on:

Language negotiation only working when logged in

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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