On November 13, 2020 . By CodimTh Category: Web Drupal Example How to set frontpage programmatically in drupal 8 & 9 \Drupal::configFactory() ->getEditable('system.site') ->set('page.front', '/node/3') ->save(); Tags : Drupal 8 Drupal 9 Tutorial Drupal Tips Drupal Previous PostHow to get route name of a views page in Drupal 8 & 9Next PostRedirect after user login in drupal 8 & 9 Comments Add new comment Your name Subject Comment About text formats Restricted HTML Leave this field blank
Comments