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

missing "add block" in custom layout

Posted 2 days 22 hours ago by (pgrayove) in How-To and Troubleshooting

Unable to run update - fails with Connection timed out

Posted 4 days 22 hours ago by (lias) in How-To and Troubleshooting

Write Permission Problems on files, ../private and /tmp on my Laptop

Posted 1 week 1 day ago by Francis Greaves (themetman) in How-To and Troubleshooting

Recent comments

I am withdrawing my question for the following reason: https://forum.backdropcms.org/comment/8960#comment-8960

Posted 23 hours 40 min ago by (Enthusiast) on:

Error when trying to check for updates

My hosting is located in a country that blocks numerous online resources, so I am not surprised that updates and modules are unavailable. However, everything works perfectly on a local server...

Posted 23 hours 42 min ago by (Enthusiast) on:

Unable to run update - fails with Connection timed out

UPDATE: I fixed the errors that I found in the logs. They were related to deleting an old blog content type pulled over from Drupal that was still referenced in one of the layouts. I updated...

Posted 1 day 23 hours ago by (pgrayove) on:

missing "add block" in custom layout

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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