/**
* 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 2023 Business Value Report
View documented customer ROI through reduced IT spend, increased productivity, and secure data.IDC Spotlight
Unleashing the Value of Data with Content and Context-Aware Protection.2024 AEC Data Insights Report
A dive into AEC industry data usage trends and how companies engage with data in the cloud.Take Sensitive Data Protection to the Next…
A SANS Institute Product Review of the Egnyte Platform.Data Resiliency in Design and Construction 2023…
Report on survey conducted by Dodge Data & Analytics on behalf of Egnyte that provides…Cybersecurity Trends for Mid-Sized Organizations
This study recaps cybersecurity trends, including insurance premium increases & ransomware.State of Ransomware Report for AEC
Learn how ransomware impacts the AEC industry and determine your risk for an attack.Improve Drug Discovery Data Management with AI
This report from MIT Technology Review Insights highlights how AI accelerates drug development.SANS: Defend Your Organization from Within
Read this review from SANS, which shows how Egnyte protects your data wherever it is.IDC Spotlight: Content Security and Governance
IDC looks at Egnyte, content security, and governance in hybrid workplaces.2019 Business Value Report
View documented customer ROI through reduced IT spend, increased productivity, and secured data.