/** * Implements hook_preprocess_node(). */ function nutrend_preprocess_node(&$variables) { $node = $variables['node']; // Debug: Check if this is being called for catwalk_report if ($node->bundle() === 'catwalk_report') { // Add a class to identify our processing $variables['attributes']['class'][] = 'nutrend-processed'; // Debug info (remove in production) if (\Drupal::currentUser()->hasPermission('administer nutrend')) { \Drupal::messenger()->addMessage(t('NuTrend: Processing catwalk_report node @nid in view mode @mode', [ '@nid' => $node->id(), '@mode' => $variables['view_mode'], ])); } } } S/S 2024/25, AW 2024/25 Fashion trend forecasting reports in color, print, textile, accessories, denim
forecast