/** * 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
The largest general contractor in Silicon Valley gives IT better control and teams more flexibility with new hybrid, content infrastructure.
Kona Grill reduces back-office burdens, giving managers more time with guests
Founded in 1937 as a small liberal arts college emphasizing the highest standards for…
Out of the box they gain HIPAA compliance and streamline client communication and support.
Bowmer & Kirkland gives IT more control of content and users to boost productivity and cut costs.
Saving time and protecting construction firms with seamless reporting and file storage.
Arizona’s largest family-owned and operated homebuilder improves team collaboration with new, hybrid, content infrastructure.
Egnyte partnered with Practifi to help small firm with big ambitions who want to run their business through one source.