Add UIBlocks to twig (Generalize IsHidden parameter)

This commit is contained in:
Eric
2021-01-15 11:47:25 +01:00
parent 5fe8ca178e
commit 648cfd9af4
18 changed files with 56 additions and 95 deletions

View File

@@ -32,8 +32,6 @@ class Field extends UIContentBlock
/** @var string */
protected $sAttLabel;
/** @var bool */
protected $bIsHidden = false;
/** @var bool */
protected $bIsReadOnly = false;
/** @var bool */
protected $bIsMandatory = false;
@@ -143,26 +141,6 @@ class Field extends UIContentBlock
return $this;
}
/**
* @return bool
*/
public function IsHidden(): bool
{
return $this->bIsHidden;
}
/**
* @param bool $bIsHidden
*
* @return Field
*/
public function SetIsHidden(bool $bIsHidden)
{
$this->bIsHidden = $bIsHidden;
return $this;
}
/**
* @return bool
*/