Loading twig_tools.module +4 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,10 @@ function twig_tools_help($route_name, RouteMatchInterface $route_match) { $output .= '<dd>' . t('Returns the md5 hash value of a passed variable.') . '</dd>'; $output .= '<dt><code>json_decode</code></dt>'; $output .= '<dd>' . t('Decodes a JSON string into an array or object. Essentially the opposite of the built-in <code>json_encode</code> filter.') . '</dd>'; $output .= '<dt><code>base64_encode</code></dt>'; $output .= '<dd>' . t('Returns the base64 encoded value of the passed value or variable.') . '</dd>'; $output .= '<dt><code>base64_decode</code></dt>'; $output .= '<dd>' . t('Returns the base64 decoded value of the passed value or variable.') . '</dd>'; $output .= '</dl>'; $output .= '<h4>' . t('Color Filters:') . '</h4>'; Loading Loading
twig_tools.module +4 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,10 @@ function twig_tools_help($route_name, RouteMatchInterface $route_match) { $output .= '<dd>' . t('Returns the md5 hash value of a passed variable.') . '</dd>'; $output .= '<dt><code>json_decode</code></dt>'; $output .= '<dd>' . t('Decodes a JSON string into an array or object. Essentially the opposite of the built-in <code>json_encode</code> filter.') . '</dd>'; $output .= '<dt><code>base64_encode</code></dt>'; $output .= '<dd>' . t('Returns the base64 encoded value of the passed value or variable.') . '</dd>'; $output .= '<dt><code>base64_decode</code></dt>'; $output .= '<dd>' . t('Returns the base64 decoded value of the passed value or variable.') . '</dd>'; $output .= '</dl>'; $output .= '<h4>' . t('Color Filters:') . '</h4>'; Loading