Commit 47dae782 authored by pcate's avatar pcate
Browse files

Issue #3246405: Add hook help for base64_encode and base64_decode filters.

parent 33510025
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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>';