carters_core.module

PHOTO EMBED

Thu Jan 27 2022 18:38:45 GMT+0000 (UTC)

Saved by @igor #drupal #php

/**
 * Implements hook_preprocess_HOOK().
 */
function carters_core_preprocess_facets_result_item(&$variables) {
  if ($variables['facet']->get('name') == 'Popust') {
    $variables['value'] = $variables['value'] . '%';
  }
}
content_copyCOPY