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, 27 March, 2023 How to configure Git username and email address ? * Global Git username and email * Git username and email for a single repository Tags Git
By hari, 20 March, 2023 Error: Bad owner or permissions on ~/.ssh/config Proper permission for you .ssh folder Tags Git
By hari, 13 March, 2023 Setup Git to work with proxy server Here is small introduction for Git with proxy server. Tags Git
By hari, 7 March, 2023 How to make bootable USB storage or pen-drive from ISO file on Mac OS Here is a few steps for make a USB storage or pen-drive bootable from ISO file using Mac OS Terminal. Tags Mac OS Commad Line Ubuntu
By hari, 3 March, 2023 PHP executable installation in your machine (Mac or Linux OS) using Docker container Here is the way to install PHP into Mac OS or Linux using Docker container. Tags Mac OS Macbook Commad Line Docker Linux
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