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

Problem with utf8mb4 Format when importing database

Posted 1 day 15 hours ago by (rt-9988) in How-To and Troubleshooting

Forward/email this page ?

Posted 2 days 1 hour ago by (dd123) in How-To and Troubleshooting

User activity

Posted 4 days 16 hours ago by (Coffee70) in How-To and Troubleshooting

Recent comments

Thank you for all your help. In the meantime I just edited the export db-file and removed the top line with the sandbox comment. --> Still the same issue. I exported also with the...

Posted 12 hours 32 min ago by (rt-9988) on:

Problem with utf8mb4 Format when importing database

Another possibility: The RRSB module has a forward option. If you don't want all the social-media sharing links, you can uncheck them all, then enable RRSB on the node types of your choice.

Posted 14 hours 59 min ago by (adamg) on:

Forward/email this page ?

One person said: I use bee in mamp - but not sure what i can offer. I did a basic setup and it just works...

Posted 15 hours 38 min ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:

Problem with utf8mb4 Format when importing database

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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