Deleting a Cookie in JavaScript by name. LAKHAN GEHARWAR November 28, 2024 Set-Cookie function set_cookie(name, value) { document.cookie = name +'='+ value +'; Path=/;'; } Delete-Cookie funct... Continue Reading
Cron run every which is set the time. LAKHAN GEHARWAR July 01, 2024 /** * Implements hook_cron(). */ function sso_user_cron () { //$current_time = time() + 6*60*60; 6hr total=21600,12hr total=43200,24h... Continue Reading
Drupal 8 Entity API cheat sheet LAKHAN GEHARWAR April 09, 2024if you've already read the official Drupal 8 Entity API documentation and you want more examples, here's a handy cheat sheet: The e... Continue Reading
Link fields from Twig Using the Link Attributes widget contributed module and debugging LAKHAN GEHARWAR March 20, 2024 Drupal Tips: Link fields from Twig Using the Link Attributes widget contributed module Link Attributes widget It’s also quite possible that... Continue Reading
Installing the SimpleSAMLphp library and Module (SSO Login) Drupal LAKHAN GEHARWAR January 12, 2024 Here we going to see how to set up SSO using SimpleSAMLphp using Shibboleth in Drupal 8. ... Continue Reading