You are here

public function Checkboxes::hasMultipleValues in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElement/Checkboxes.php \Drupal\webform\Plugin\WebformElement\Checkboxes::hasMultipleValues()

Checks if the element value has multiple values.

Parameters

array $element: An element.

Return value

bool TRUE if the element value has multiple values.

Overrides WebformElementBase::hasMultipleValues

File

src/Plugin/WebformElement/Checkboxes.php, line 66

Class

Checkboxes
Provides a 'checkboxes' element.

Namespace

Drupal\webform\Plugin\WebformElement

Code

public function hasMultipleValues(array $element) {
  return TRUE;
}