Answer the question
In order to leave comments, you need to log in
How to update a block in Drupal when clicking on a link?
I'm trying to create my first Drupal site... On the
left of the page there is a table of links that set the id parameter, for example, from the "site" page we get to "site/?id=1", "site/?id=2", "site/ ?id=3" and so on. It is necessary when you click on these links to update the page block on the right. Naturally, the block is written with BlockBase inheritance and the build() method.
Answer the question
In order to leave comments, you need to log in
Are there many links? If not, create a block, specify on which pages to display...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question