N°2844 - Add iUIContentBlock::HasSubBlocks() helper

This commit is contained in:
Molkobain
2021-03-04 15:06:26 +01:00
parent 101a100c1f
commit cf956099ac
4 changed files with 34 additions and 2 deletions

View File

@@ -64,6 +64,11 @@ interface iUIContentBlock {
*/
public function GetSubBlock(string $sId): ?iUIBlock;
/**
* @return bool True if there is at least 1 sub-block
*/
public function HasSubBlocks(): bool;
/**
* Return an array of all the sub blocks
*