function olivero_preprocess_field__node__created

Same name in other branches
  1. 9 core/themes/olivero/olivero.theme \olivero_preprocess_field__node__created()
  2. 11.x core/themes/olivero/olivero.theme \olivero_preprocess_field__node__created()

Implements hook_preprocess_HOOK().

File

core/themes/olivero/olivero.theme, line 490

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.