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

My Webform Worksheets have disappeared

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

Importing the staged config throws an error: another field with the same name already exists

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

Comments Enhanced

Posted 3 weeks 1 day ago by (izmeez) in How-To and Troubleshooting

Recent comments

well @herb I cannot believe it, but the webform module was there in modules on the disc, but missing in the listed modules, so I delete the module folder, and downloaded it again. Then...

Posted 1 week 11 hours ago by Francis Greaves (themetman) on:

My Webform Worksheets have disappeared

The only thing I can think of is to make sure Webform module is enabled and that the content type that needs to contain the webforms has Webform enabled for it. Edit the content type and make...

Posted 1 week 13 hours ago by (herb) on:

My Webform Worksheets have disappeared

@yorkshirepudding, In the end I fixed it by deleting the config/active folder contents, copying the config/staging/ files into config/active, importing the database again and clearing the caches...

Posted 1 week 6 days ago by Francis Greaves (themetman) on:

Importing the staged config throws an error: another field with the same name already exists

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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