/** * Implements hook_preprocess_HOOK() for paragraph__egnyte_product_tour_feed. */ function egnyte_product_tour_feed_preprocess_paragraph__egnyte_product_tour_feed(array &$variables) { // Load Bundle. $variables['#attached']['library'][] = 'egnyte_site_builder/product-tour-feed-block-js'; $pt_filter = []; $paragraph = $variables['elements']['#paragraph']; $product_tours = EgnyteProductTourFeed::getInstance(); $selected_pt = $paragraph->field_egnyte_product_tour_list->getValue() ?? []; // Array of Custom "All Product Tours" Filter nodes. foreach ($selected_pt as $key => $value) { $pt_filter['target_id'][$key] = $value['target_id']; } $variables['product_button_header'] = 'All Product Tours'; $variables['product_tours'] = !empty($selected_pt) ? EgnyteProductTourFeed::getInstance()->getProductToursByNids($pt_filter['target_id']) : $pr
watch on demand
As all companies enter the content critical age, learn how Egnyte has adapted its platform to help customers collaborate more securely and secure their data collaboratively. This session will include market trends, product announcements and the 2023 Egnyte Product Roadmap.
See Egnyte in Action! Join Egnyte's Experts for a series of live demonstrations showcasing our unique collaboration and governance capabilities for AEC. Topics will include: Jobsite and Remote File Access, Internal and External Collaboration, AEC Specific Integrations, Project Setup and Closeout.