You are here

public function WebformDevelSchema::getColumns in Webform 6.x

Same name and namespace in other branches
  1. 8.5 modules/webform_devel/src/WebformDevelSchema.php \Drupal\webform_devel\WebformDevelSchema::getColumns()

Get webform scheme columns.

Return value

array Associative array container webform scheme columns

Overrides WebformDevelSchemaInterface::getColumns

File

modules/webform_devel/src/WebformDevelSchema.php, line 71

Class

WebformDevelSchema
Provides a webform schema generator.

Namespace

Drupal\webform_devel

Code

public function getColumns() {
  return [
    'name' => $this
      ->t('Name'),
    'title' => $this
      ->t('Title'),
    'type' => $this
      ->t('Type'),
    'datatype' => $this
      ->t('Datatype'),
    'maxlength' => $this
      ->t('Maxlength'),
    'required' => $this
      ->t('Required'),
    'multiple' => $this
      ->t('Multiple'),
    'options_text' => $this
      ->t('Options text'),
    'options_value' => $this
      ->t('Options value'),
  ];
}