You are here

function name_element_pre_render in Name Field 8

Same name and namespace in other branches
  1. 6 name.module \name_element_pre_render()
  2. 7 name.module \name_element_pre_render()

This function themes the element and controls the title display.

Deprecated

in name:8.x-1.0 and is removed from name:2.0.0. Use Drupal\name\Element\Name::preRender() instead.

File

./name.module, line 607
Defines an API for displaying and inputing names.

Code

function name_element_pre_render($element) {
  return Name::preRender($element);
}