function opigno_group_manager_theme_suggestions_alter in Opigno group manager 3.x
Same name and namespace in other branches
- 8 opigno_group_manager.module \opigno_group_manager_theme_suggestions_alter()
Implements hook_theme_suggestions_alter().
File
- ./
opigno_group_manager.module, line 61 - Contains opigno_group_manager.module.
Code
function opigno_group_manager_theme_suggestions_alter(array &$suggestions, array $variables, $hook) {
if (\Drupal::routeMatch()
->getRouteName() == 'opigno_group_manager.manager.get_item_form' && $hook == 'page') {
$suggestions[] = 'opigno_group_item_form';
}
}