Score:0

How do I link to a Views Page from a systemAdminMenuBlockPage page?

je flag

I have a custom module that I have a systemAdminMenuBlockPage in that I'd like to link to various content administration Views pages from. I basically have a custom Configuration menu item doing this using custom_module.routing.yml and custom_module.links.menu.yml like:

Configuration > My Site > Content Administration Views

On this page I'd just like to create menu items that link to individual Views displays. What I haven't been able to figure out is what the custom_module.routing.yml entries should look like. Do I need to create a whole ShowCustomViewsPages.php controller like:

_controller: '\Drupal\custom_module\Controller\ShowCustomViewsPages::siteResources'

and show my Views from there or is there an easier way to link directly to the View's route from the routing.yml file?

Thank you

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.