diff --git a/core/modules/field/field.module b/core/modules/field/field.module index 4d25a1f..35297fd 100644 --- a/core/modules/field/field.module +++ b/core/modules/field/field.module @@ -1078,21 +1078,8 @@ function template_preprocess_field(&$variables, $hook) { 'field__' . $element['#bundle'], 'field__' . $element['#field_name'] . '__' . $element['#bundle'], ); -} -/** - * Theme process function for theme_field() and field.tpl.php. - * - * @see theme_field() - * @see field.tpl.php - */ -function template_process_field(&$variables, $hook) { static $default_attributes; - // The default theme implementation is a function, so template_process() does - // not automatically run, so we need to flatten the classes and attributes - // here. For best performance, only instantiate Drupal\Core\Template\Attribute - // when needed, and note that template_preprocess_field() does not initialize - // the *_attributes variables. if (!isset($default_attributes)) { $default_attributes = new Attribute; }