1

After install URL Redirect module not able to check the current page is front page or not by programmatically. Following code does not return anything:

\Drupal::service('path.matcher')->isFrontPage()

Also page--front.html.twig template getting removed from front page template suggestion.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.