ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
HasContentLanguage.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\UI\Component;
22
24
26{
31 public function withContentLanguage(LanguageTag $language): self;
32
36 public function getContentLanguage(): ?LanguageTag;
37}
This class represents a valid language tag that should be used instead of plain strings.
Definition: LanguageTag.php:40
getContentLanguage()
See comment in withContentLanguage.
withContentLanguage(LanguageTag $language)
If the link text also is not translated (e.g., because it is a formal title that should be kept in th...