/** * 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
Egnyte's Life Sciences Summit is back! Join our virtual event to explore cutting-edge strategies for data governance, compliance, and collaboration in clinical research.
Join us at the Egnyte Global Summit to discover how to harness your content for better decision-making, enhanced team productivity, and reduced security and compliance risks.
Watch On-DemandGain the required knowledge to navigate your CMMC compliance journey successfully.
Watch On-DemandTransform Your Financial Institution's Digital Strategy.
Watch On-DemandLearn key stages of the cloud journey, from assessment and planning to continuous improvement.
Watch On-DemandLearn how to take a proactive step toward securing your business by learning how Artificial Intelligence (AI) can keep you ahead of evolving threats.
Watch On-DemandTransitioning from on-premises? Currently using Box, Inc. and considering a switch? Then this webinar is for you.
Watch On-Demand