/** * 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
Join Kipp Ivey, Senior Business Development Manager at FARO as he explores the evolution of reality capture. Discover how streaming enables efficient transfers with local cache, automatic model deletion, and seamless sharing.
Join Thomas Volmer, Director of IT at Balfour Beatty, to learn how a well-executed data retention plan helped Balfour Beatty reduce overwhelming file clutter and protected their business from cyber threats, saving the company valuable time and money.
Join a live discussion hosted by Egnyte’s AEC Product Team to learn how using Egnyte’s E2E Connector increases collaboration and transparency between two firms while providing enhanced security and governance.