/**
* 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
Resources Center - Webinars, Industry Specific and Analyst Reports Running Clinical Trials with Speed and Scale
How start-up CRO Vial employs cloud technology to deliver end-to-end clinical trials 50% cheaper…Bridging the Gap Between IT & Finance
We created this session to help guide your IT initiatives from proposal to approval.Why IT Leaders Choose Egnyte Over Traditional…
With Matt Richmond, Chief Technology Officer, RIOS and Bob Opferman, Director of IT, Ricondo…Make the Business Case for ISO 27001…
Join us on May 16th to hear actionable ISO 27001 recommendations based on real-world experience.Unifying Project Data for Optimal Productivity
Learn about the factors that are key to improving productivity at AEC firms.The Future of CMMC: Where Do We Go From Here?
Hear about the future of CMMC and how organizations like yours can begin planning now.Replacing On-Premises File Servers with…
Experts discuss the hidden costs of SharePoint and how they can add up on your balance sheet.Simplify ISO 27001 compliance with Egnyte
Improve your IT security and simplify compliance with Egnyte.How to Protect Your Employees' Sensitive…
Balance the need for employees', applicants' & contractors' personal data collection with…Replacing On-Premises File Servers With Cloud…
How legacy file server technology has become obsolete and why four companies moved to Egnyte.How to Improve Collaboration with CROs and…
Watch Adrian Dupre, Senior Director of IT at Icosavax discusses how they use Egnyte to share…Unify, Protect, and Control Project Documents…
A guide to improving visibility and productivity throughout a project's lifecycle.Replacing On-Premises File Servers with…
Pros and Cons of SharePoint Online vs. Egnyte, as a cloud replacement for an on-premise file…CMMC 2.0: Navigating the New Regulations
Join ERRG and Tutor Perini Corporation as they share their compliance journey and what you need…