render_box person: possible to force disable AltNames; add space between span

This commit is contained in:
2021-07-31 14:45:34 +02:00
parent 1325355ca7
commit 98dd31dffc
5 changed files with 22 additions and 7 deletions

View File

@@ -52,7 +52,7 @@ class PersonRender extends AbstractChillEntityRender
public function renderBox($person, array $options): string
{
$params = [
'addAltNames' => $this->configAltNamesHelper->hasAltNames(),
'addAltNames' => $options['addAltNames'] ?? $this->configAltNamesHelper->hasAltNames(),
'addLink' => $options['addLink'] ?? false,
'addEntity' => $options['addEntity'] ?? false,
'addId' => $options['addId'] ?? false,