19 declare(strict_types=1);
34 private bool $title_and_icon_visibility = self::DEFAULT_TITLE_AND_ICON_VISIBILITY
40 return $this->title_and_icon_visibility;
48 $trafo = $refinery->custom()->transformation(
54 return $field_factory->checkbox($language->
txt(self::INPUT_LABEL))
64 $language->
txt(self::INPUT_LABEL),
65 'show_header_icon_and_title' 67 $title_and_icon_visibility_input->setValue(
'1');
68 $title_and_icon_visibility_input->setChecked($this->
getVisibility());
70 return $title_and_icon_visibility_input;
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
__construct(private bool $title_and_icon_visibility=self::DEFAULT_TITLE_AND_ICON_VISIBILITY)
toForm(\ilLanguage $language, FieldFactory $field_factory, Refinery $refinery)
toLegacyForm(\ilLanguage $language)
const DEFAULT_TITLE_AND_ICON_VISIBILITY