The twig-file for the language block has a variable `heading` which will be filled in `Drupal\socialbase\Plugin\Preprocess\LanguageLinks`

But the check for type of language tests for `LanguageInterface` instead of `Language`. So the current language will not be shown.

See patch-file.

Comments

jan kellermann created an issue. See original summary.

jan kellermann’s picture

StatusFileSize
new1.07 KB
jan kellermann’s picture

StatusFileSize
new1.07 KB

Sorry, the variable name was wrong even.

jan kellermann’s picture

jan kellermann’s picture

Issue summary: View changes
navneet0693’s picture

Status: Active » Reviewed & tested by the community

Thank you @jan kellermann! This works, I will commit it.

  • jan kellermann authored f2102de2 on 2.4.x
    Issue #3328699 by jan kellermann, navneet0693: Missing variable heading...
tbsiqueira’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.