person: update person view/show twig

This commit is contained in:
nobohan
2021-06-18 13:46:46 +02:00
parent 1a204312f3
commit b3792f6714
3 changed files with 69 additions and 18 deletions

View File

@@ -78,6 +78,7 @@ class Configuration implements ConfigurationInterface
->append($this->addFieldNode('address'))
->append($this->addFieldNode('accompanying_period'))
->append($this->addFieldNode('memo'))
->append($this->addFieldNode('number_of_children'))
->arrayNode('alt_names')
->defaultValue([])
->arrayPrototype()
@@ -130,7 +131,7 @@ class Configuration implements ConfigurationInterface
{
$tree = new TreeBuilder($key,'enum');
$node = $tree->getRootNode($key);
switch($key) {
case 'accompanying_period':
$info = "If the accompanying periods are shown";