add dns-editor in twig/tablelisting/formfield

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-03-14 11:13:21 +01:00
parent 237476b30d
commit 05cc08c376
6 changed files with 240 additions and 49 deletions

View File

@@ -60,4 +60,9 @@ class Text
{
return substr($attributes['data'], 0, 20) . '...';
}
public static function wordwrap(array $attributes): string
{
return wordwrap($attributes['data'], 100, '<br>', true);
}
}