You are here

public function WebformViewsSelectStyle::define_mapping in Webform Views Select 7

Implements views_plugin_style_mapping::define_mapping().

Overrides views_plugin_style_mapping::define_mapping

File

./WebformViewsSelectStyle.inc, line 16
Contains WebformViewsSelectStyle.

Class

WebformViewsSelectStyle
The style plugin for Webform Views Select.

Code

public function define_mapping() {
  return array(
    'webform_select_key' => array(
      '#title' => t('Short, raw options (keys)'),
      '#required' => TRUE,
    ),
    'webform_select_value' => array(
      '#title' => t('Full, human-readable options (values)'),
      '#required' => TRUE,
    ),
  );
}