public function applyStandardProcessing(array &$element) {
    if (empty($element['#process'])) {
      $info = $this->elementInfo->getInfo($element['#type']);

      if (isset($info['#process'])) {
        $element['#process'] = $info['#process'];
      }
    }
  }
public function applyStandardProcessing(array &$element) {
    if (empty($element['#process'])) {
      $info = $this->elementInfo->getInfo($element['#type']);

      if (isset($info['#process'])) {
        $element['#process'] = $info['#process'];
      }
    }
  }
public function applyStandardProcessing ( array & $ element ) { if ( empty ( $ element [ '#process' ] ) ) { $ info = $ this -> elementInfo -> getInfo ( $ element [ '#type' ] ) ; if ( isset ( $ info [ '#process' ] ) ) { $ element [ '#process' ] = $ info [ '#process' ] ; } } }
Applies standard process functions to a form element.

@param array $element
The form element.
Applies standard process functions to a form element .