Skip to main content
backdrop Forum
  • Forum
  • FAQ
  • Following
  • About
  • Wishlist
  • My account
    • Log In
    • Create an account
  • Try Backdrop CMS
    • Demo Backdrop CMS
    • Download version 1.35.2
    • More ways to try Backdrop
  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

specific webform permissions

Posted 1 day 10 hours ago by (aubergine) in How-To and Troubleshooting

Images Disappearing from inline-images

Posted 1 day 13 hours ago by Elle (Princess Nettles) in How-To and Troubleshooting

How to upload js and gz files

Posted 1 week 2 days ago by (aubergine) in How-To and Troubleshooting

Recent comments

This is good enough, but maybe the module maintainer would like to add such a feature.

Posted 14 hours 9 min ago by (aubergine) on:

specific webform permissions

This should be allowed atleast on private files directory. Accepted your answer though.

Posted 14 hours 12 min ago by (aubergine) on:

How to upload js and gz files

This is a security precaution. It's not recommended and it's not documented in the settings.php file, but you can set allow_insecure_uploads to be TRUE if you wish to allow uploading files like...

Posted 1 day 9 hours ago by laryn (laryn) on:

How to upload js and gz files

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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