system_theme_suggestions_page(array $variables)
Implements hook_theme_suggestions_HOOK().
File
- core/modules/system/system.module, line 266
- Configuration system that lets administrators modify the workings of the site.
Code
function system_theme_suggestions_page(array $variables) { if (\Drupal::service('path.matcher')->isFrontPage()) { $path_args = ['']; } else { $path_args = explode('/', Url::fromRoute('<current>')->getInternalPath()); } return theme_get_suggestions($path_args, 'page'); }
Please login to continue.