Changes for custom_formatters.module: 2 added lines, 2 removed lines.
Original line number
Diff line number
Diff line
@@ -27,9 +27,9 @@ function custom_formatters_help(string $route_name, RouteMatchInterface $route_m
$output.='<dt>'.t('HTML + Tokens').'</dt>';
$output.='<dd>'.t('A HTML-based editor with Token support. When the Token module is installed, a token tree browser is available for inserting tokens. Entity reference fields automatically provide tokens for the referenced entity.').'</dd>';
$output.='<dt>'.t('PHP').'</dt>';
$output.='<dd>'.t('A PHP-based editor with support for multiple fields and values. Note: this engine uses eval() and access is restricted to users with the "administer custom formatters" permission.').'</dd>';
$output.='<dd>'.t('A PHP-based editor with support for multiple fields and values. Note: this engine uses eval(). Creating or editing a PHP formatter requires the "Create, Edit, or Delete PHP Custom Formatters" permission in addition to the base create/edit permission.').'</dd>';
$output.='<dt>'.t('Twig').'</dt>';
$output.='<dd>'.t('A Twig-based editor with support for multiple fields and values.').'</dd>';
$output.='<dd>'.t('A Twig-based editor with support for multiple fields and values. Note: this engine can read data from entities beyond the field being rendered. Creating or editing a Twig formatter requires the "Create, Edit, or Delete Twig Custom Formatters" permission in addition to the base create/edit permission.').'</dd>';
$output.='</dl>';
return$output.('<p>'.t('For more information, see the <a href=":handbook">Custom Formatters handbook page</a>.',[