Update path to twig template with new syntax

This commit is contained in:
2023-07-28 12:16:50 +02:00
parent 55b8502896
commit e839b03cc9
111 changed files with 220 additions and 223 deletions

View File

@@ -63,24 +63,24 @@ abstract class AbstractWidgetsCompilerPass implements CompilerPassInterface
/**
* the key to use to identify widget for a given place.
*/
public const WIDGET_CONFIG_ALIAS = 'widget_alias';
final public const WIDGET_CONFIG_ALIAS = 'widget_alias';
/**
* the key to use to order widget for a given place.
*/
public const WIDGET_CONFIG_ORDER = 'order';
final public const WIDGET_CONFIG_ORDER = 'order';
/**
* The service which will manage the widgets.
*
* @var string
*/
public const WIDGET_MANAGER = 'chill.main.twig.widget';
final public const WIDGET_MANAGER = 'chill.main.twig.widget';
/**
* the method wich register the widget into give service.
*/
public const WIDGET_MANAGER_METHOD_REGISTER = 'addWidget';
final public const WIDGET_MANAGER_METHOD_REGISTER = 'addWidget';
/**
* the key used to collect the alias in the service definition's tag.
@@ -89,21 +89,21 @@ abstract class AbstractWidgetsCompilerPass implements CompilerPassInterface
*
* @var string
*/
public const WIDGET_SERVICE_TAG_ALIAS = 'alias';
final public const WIDGET_SERVICE_TAG_ALIAS = 'alias';
/**
* the value of the `name` key in service definitions's tag.
*
* @var string
*/
public const WIDGET_SERVICE_TAG_NAME = 'chill_widget';
final public const WIDGET_SERVICE_TAG_NAME = 'chill_widget';
/**
* the key used to collect the authorized place in the service definition's tag.
*
* @var string
*/
public const WIDGET_SERVICE_TAG_PLACES = 'place';
final public const WIDGET_SERVICE_TAG_PLACES = 'place';
/**
* cache of ordering by place.