add dns-editor in twig/tablelisting/formfield
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user