Skip to main content
Backdrop Forum
  • Welcome!
    • Login
    • Register
  • Forum
  • FAQ
  • Following
  • About
  • Survey

You are here

  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

Recent topics

July 7th - Weekly Meeting Agenda Items

Posted 2 days 21 hours ago by Dragon Drop (drop) in Meet-Ups and Events

How to use 'Paragraphs Editor Preview'

Posted 3 days 15 hours ago by (stpaultim) in How-To and Troubleshooting

Does Backdrop set any Cookies / session variables for guests?

Posted 3 days 22 hours ago by Nicolai Schwarz (Nicolai Schwarz) in Other

Recent comments

Regarding the current solution by @quicksketch for #5482 - both @docwilmot and I have left a couple of thoughts. Perhaps it'd be good to discuss the current approach and alternatives.

Posted 3 days 2 hours ago by (argiepiano) on:

Jun 30th - Weekly Meeting Agenda Items

@nattywebdev - I'm glad we were able to help.  PS - I'm UK based too

Posted 3 days 3 hours ago by (yorkshirepudding) on:

Importing users from D7 site using Feeds - uses insert rather than update

Regarding #4285 (flushing the core directory instead of merging on self-update). @quicksketch I have no idea, how to test your PR. We really need to test it. It seems spooky to delete the directory,...

Posted 3 days 4 hours ago by (indigoxela) on:

Jun 30th - Weekly Meeting Agenda Items

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

  • backdropcms.org
  • docs.backdropcms.org
  • events.backdropcms.org