diff --git a/includes/field.inc b/includes/field.inc index fb7cbd5e86a8ff9522c04f26fb8db59f0135d18a..579ed39181b81bc5a4f27c51d7fa22a637d7fffc 100644 --- a/includes/field.inc +++ b/includes/field.inc @@ -6,7 +6,7 @@ */ /** - * + * Implements hook_theme_suggestions_field_alter(). */ function gesso_theme_suggestions_field_alter(&$suggestions, $variables) { $suggestions[] = 'field__node__' . $variables['element']['#field_name'] . '__' . $variables['element']['#bundle'] . '__' . $variables['element']['#view_mode']; diff --git a/includes/navigation.inc b/includes/navigation.inc index 5690e11052ff2edbe4ecd4fff5d7cde606c12737..363ff2b1548fe21e1ddbd36c58b462630d44d40f 100644 --- a/includes/navigation.inc +++ b/includes/navigation.inc @@ -2,25 +2,26 @@ /** * @file - */ - -/** - * Implements theme_preprocess_menu_local_tasks() - * - * @param $variables + * Navigation template functions. */ use Drupal\Component\Utility\Html; /** - * + * Implements hook_reprocess_menu_local_tasks(). */ function gesso_preprocess_menu_local_tasks(&$variables) { foreach (['primary', 'secondary'] as $type) { $tabs = []; // Sort the tabs by #weight. - uasort($variables[$type], ['Drupal\Component\Utility\SortArray', 'sortByWeightProperty']); + uasort( + $variables[$type], + [ + 'Drupal\Component\Utility\SortArray', + 'sortByWeightProperty', + ] + ); foreach (array_keys($variables[$type]) as $key) { // Add the tab to a new array.