You are here

function olivero_preprocess_field__node__created in Drupal 9

Implements hook_preprocess_HOOK().

File

core/themes/olivero/olivero.theme, line 484
Functions to support theming in the Olivero theme.

Code

function olivero_preprocess_field__node__created(&$variables) {
  foreach (Element::children($variables['items']) as $item) {
    unset($variables['items'][$item]['content']['#prefix']);
  }
}