From dbb03210723d617f90c2f13bb9064d7c3426718e Mon Sep 17 00:00:00 2001 From: Jitesh Jhamtani <60418-jitesh@users.noreply.drupalcode.org> Date: Tue, 17 Jan 2023 19:55:45 +0000 Subject: [PATCH 1/3] Add new file --- twig_tweak.module | 1 + 1 file changed, 1 insertion(+) create mode 100644 twig_tweak.module diff --git a/twig_tweak.module b/twig_tweak.module new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/twig_tweak.module @@ -0,0 +1 @@ + From 29ac5a45d7288a8fc92ff4216d187fb98fcec423 Mon Sep 17 00:00:00 2001 From: Jitesh Jhamtani <60418-jitesh@users.noreply.drupalcode.org> Date: Tue, 17 Jan 2023 20:03:28 +0000 Subject: [PATCH 2/3] Update twig_tweak.module --- twig_tweak.module | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/twig_tweak.module b/twig_tweak.module index 8b13789..d9ef036 100644 --- a/twig_tweak.module +++ b/twig_tweak.module @@ -1 +1,25 @@ +' . (string) new TranslatableMarkup('About') . ''; + $output .= '

' . (string) new TranslatableMarkup('Twig Tweak is a small module which provides a Twig extension with some useful functions and filters that can improve development experience.') . '

'; + $output .= '

' . (string) new TranslatableMarkup('You can click on the links below for more information about this module.') . '

'; + $output .= '

' . (string) new TranslatableMarkup('Project page', [ + ':project_link' => 'https://www.drupal.org/project/twig_tweak', + ]) . '

'; + return $output; + } +} From cda8f6659eda3abf9a00a1dad68c1eddf0fba5fa Mon Sep 17 00:00:00 2001 From: Jitesh Jhamtani <60418-jitesh@users.noreply.drupalcode.org> Date: Tue, 17 Jan 2023 20:06:05 +0000 Subject: [PATCH 3/3] Update twig_tweak.module --- twig_tweak.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twig_tweak.module b/twig_tweak.module index d9ef036..f2e592f 100644 --- a/twig_tweak.module +++ b/twig_tweak.module @@ -16,10 +16,10 @@ function twig_tweak_help($route_name, RouteMatchInterface $route_match) { $output = ''; $output .= '

' . (string) new TranslatableMarkup('About') . '

'; $output .= '

' . (string) new TranslatableMarkup('Twig Tweak is a small module which provides a Twig extension with some useful functions and filters that can improve development experience.') . '

'; - $output .= '

' . (string) new TranslatableMarkup('You can click on the links below for more information about this module.') . '

'; + $output .= '

' . (string) new TranslatableMarkup('You can click on the links below for more information about this module.') . '

'; $output .= '

' . (string) new TranslatableMarkup('Project page', [ ':project_link' => 'https://www.drupal.org/project/twig_tweak', - ]) . '

'; + ]) . '

'; return $output; } }