Свойство | Type | Description | |
---|---|---|---|
$cacheEnabled | Choose whether a block can be cached trough the caching component. Be carefull with caching container blocks. | ||
$cacheExpiration | The cache lifetime for this block in seconds (3600 = 1 hour), only affects when cacheEnabled is true | ||
$isContainer | Choose whether block is a layout/container/segmnet/section block or not, Container elements will be optically displayed in a different way for a better user experience. Container block will not display isDirty colorizing. |
Méthode | Description | |
---|---|---|
admin ( ) | Available twig variables: | |
config ( ) | ||
icon ( ) | ||
injectors ( ) | ||
name ( ) |
public $cacheEnabled |
public $cacheExpiration |