Files
iTop/sources/application/UI/Base/Layout/UIContentBlockUIBlockFactory.php
Molkobain 1514cd83ab UIBlock: Change $aAdditionalCSSClasses methods to match app. conventions (parameters should be arrays, not space separated string)
Note: This had to be fixed on all calls to this, hence the number of modifications.
2021-01-21 12:59:30 +01:00

22 lines
566 B
PHP

<?php
/**
* @copyright Copyright (C) 2010-2021 Combodo SARL
* @license http://opensource.org/licenses/AGPL-3.0
*/
namespace Combodo\iTop\Application\UI\Base\Layout;
use Combodo\iTop\Application\UI\Base\AbstractUIBlockFactory;
class UIContentBlockUIBlockFactory extends AbstractUIBlockFactory
{
public const TWIG_TAG_NAME = 'UIContentBlock';
public const UI_BLOCK_CLASS_NAME = UIContentBlock::class;
public static function MakeStandard(string $sId = null, array $aContainerClasses = [])
{
return new UIContentBlock($sId, $aContainerClasses);
}
}