You are here

function _webform_grid_header_title in Webform 7.4

Create internal component title for table header, if any.

1 call to _webform_grid_header_title()
_webform_grid_header in components/grid.inc
Generate a table header suitable for form or html display.

File

components/grid.inc, line 796
Webform module grid component.

Code

function _webform_grid_header_title($element, $title) {
  $header_title = '';
  if ($element['#title_display'] == 'internal') {
    $header_title = $title;
  }
  return $header_title;
}