By lauriii on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.0.x
Issue links:
Description:
Local tasks and actions are now blocks so that they could possibly made cacheable, and they don't have to be generated even though they wouldn't be used.
Previously there was a variable in page.html.twig:
{{ tabs }}
{{ action_links }}
Now in order to print tabs and action links you'll have to create a region where tabs and local action blocks can be printed. More info about creating a region here
Impacts:
Site builders, administrators, editors
Module developers
Themers
Comments
WebTestBase breakage
Note that if you have any SimpleTests for your contrib modules that interact with local tasks or actions, the default testing theme (Classy) does not provide these new blocks by default, and your existing tests will break. To solve this, see this fix in the page_manager module tests to resolve it in your test classes.