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

User seeing admin stuff

Posted 3 days 23 hours ago by (adamg) in How-To and Troubleshooting

Search does not include comments

Posted 1 week 2 hours ago by (izmeez) in How-To and Troubleshooting

How can I display the username or user profile picture in the menu?

Posted 1 week 20 hours ago by (suriyan2538) in How-To and Troubleshooting

Recent comments

There is also Node Comments Search - this searches the node and all comments (default search is node and first page of comments) as part of the content search. Izzy's module above is a separate...

Posted 1 day 2 hours ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:

Search does not include comments

I have created a new module comment_search

Posted 1 day 2 hours ago by (izmeez) on:

Search does not include comments

If there is no response, alternatively, you can use a View with a list of comments, with a filter based on the comment text. I haven't tried it myself, I just got an idea.

Posted 1 day 3 hours ago by (Enthusiast) on:

Search does not include comments

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

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