I
I
Igor2017-03-15 21:17:43
Drupal
Igor, 2017-03-15 21:17:43

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

1 answer(s)
A
Alexander Pupkin, 2017-03-17
@sakrab

Are there many links? If not, create a block, specify on which pages to display...
5a50d4b64fcf4aadae328b4ba3f954e2.jpg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question