ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
HasContentLanguage.php
Go to the documentation of this file.
1 <?php
17 declare(strict_types=1);
18 
19 namespace ILIAS\UI\Component;
20 
22 
24 {
29  public function withContentLanguage(LanguageTag $language): self;
30 
34  public function getContentLanguage(): ?LanguageTag;
35 }
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...
This class represents a valid language tag that should be used instead of plain strings.
Definition: LanguageTag.php:39
getContentLanguage()
See comment in withContentLanguage.