By hari, 13 July, 2023 Get the current page URI programmatically on Drupal 8 or 9 or 10 ? Let's play with current page URI 😀 Tags Drupal
By hari, 6 July, 2023 Twig `link` function with route name Drupal 9, 10 How to use `link` function in different use case. Tags Twig Drupal Ajax API
By hari, 19 June, 2023 SOLVED : The class could not be found or loaded issue in Drupal Error: The form class Drupal\social\Installer\Form\ModuleConfigureForm could not be found or loaded Tags Drupal Errors Composer Distribution
By hari, 11 June, 2023 Loading and playing with JavaScript in Drupal 8 9 10 Loading and Using JavaScript in Drupal 8 or 9 or 10 Tags Drupal JavaScript Libraries
By hari, 4 April, 2023 How to set moderation state programmatically in Drupal 8 or 9 Code for programatically set moderation state. Tags Drupal Moderation Workflow
By hari, 28 March, 2023 URL path by route name in Drupal Twig template Linking to routes in Twig by using path($name, $parameters, $options) function are defined in close parallel to those found in Tags Drupal Twig
By hari, 27 March, 2023 How can I use 'xx time ago' as date format in Drupal's custom code ? Below example for show the node create time as times ago formate in custom code. Write below code this mytheme.theme file Tags Drupal
By hari, 1 March, 2023 File upload using SFTP in Drupal's custom form (PHPSeclib library) Here is an example code for SFTP integration in Drupal custom form using PHPSeclib (PHP Secure Communications Library) Tags Drupal PHPSeclib
By hari, 30 January, 2023 In Drupal custom class on <body> tag using hook preprocess $variables['attributes']['class'][] = 'class-name'; Tags Drupal
By hari, 11 January, 2023 Configure Metatag Views (metatag_views) with multilingual website's page title for Drupal 8 / 9 / 10 How to configure Metatag Views (metatag_views) configuration for multilingual website's page title ? Tags Drupal Views