You are here

public static function WebformExcludedElements::getWebformExcludedHeader in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Element/WebformExcludedElements.php \Drupal\webform\Element\WebformExcludedElements::getWebformExcludedHeader()

Get header for the excluded tableselect element.

Return value

array An array container the header for the excluded tableselect element.

Overrides WebformExcludedBase::getWebformExcludedHeader

File

src/Element/WebformExcludedElements.php, line 32

Class

WebformExcludedElements
Provides a webform element for webform excluded elements.

Namespace

Drupal\webform\Element

Code

public static function getWebformExcludedHeader() {
  $header = [];
  $header['title'] = [
    'data' => t('Title'),
  ];
  $header['key'] = [
    'data' => t('Key'),
    'class' => [
      RESPONSIVE_PRIORITY_LOW,
    ],
  ];
  $header['type'] = [
    'data' => t('Type'),
    'class' => [
      RESPONSIVE_PRIORITY_LOW,
    ],
  ];
  $header['private'] = [
    'data' => t('Private'),
  ];
  $header['access'] = [
    'data' => t('Access'),
  ];
  return $header;
}