This commit is contained in:
2022-10-18 14:37:33 +02:00
parent 8928664f87
commit 9eb451e359
15 changed files with 79 additions and 76 deletions

View File

@@ -21,6 +21,8 @@ use function implode;
final class SocialIssueRender implements ChillEntityRenderInterface
{
public const AND_CHILDREN_MENTION = 'show_and_children_mention';
public const DEFAULT_ARGS = [
self::SEPARATOR_KEY => ' > ',
self::SHOW_AND_CHILDREN => false,
@@ -31,11 +33,9 @@ final class SocialIssueRender implements ChillEntityRenderInterface
/**
* Show a mention "and children" on each SocialIssue, if the social issue
* has at least one child
* has at least one child.
*/
public const SHOW_AND_CHILDREN = 'show_and_children';
public const AND_CHILDREN_MENTION = 'show_and_children_mention';
public const SHOW_AND_CHILDREN = 'show_and_children';
private EngineInterface $engine;