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

Update Problems

Posted 1 day 9 hours ago by (Bill_Lea) in How-To and Troubleshooting

Status of existing content after role permission removal

Posted 2 days 15 hours ago by (trapeharde32) in How-To and Troubleshooting

Admin bar doesn't work for other site admin

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

Recent comments

OK so I have tried several things among which are running Update.php as withe mysite,com/update.php Going to Home adn running update there coing to performance adn  running ipdate there. I all...

Posted 1 hour 42 min ago by (Bill_Lea) on:

Update failure

- In Backdrop CMS the update.php file located in the /core folder (mydomain.com/core/update.php). - For launch the update.php from address bar of the browser, without restrictions, you...

Posted 8 hours 52 min ago by (Enthusiast) on:

Update Problems

Thanks. I've now tested this on a localhost and what you say holds true: the user whose permission has been removed for the given content type no longer has creation and editing rights for that...

Posted 18 hours 37 min ago by (trapeharde32) on:

Status of existing content after role permission removal

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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