Score:0

How to add "all" option to exposed filter?

cn flag

I see this discussion for Drupal 7 but am trying to do something similar in Drupal 9.

My view is called "content_display" and the display I am trying to affect is called ct_list (see screenshot). enter image description here

Currently an exposed form sorts by title(screenshot).enter image description here

The All option is defined in the view and going to path/all shows all just like path/a shows articles starting with the letter a.

Seems like I need a hook form alter in a custom module but have not really done anything similar since D7.

Any help or guidance or resources is immensely appreciated!

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.