You are here

public function WebformInterface::getVariantsData in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformInterface.php \Drupal\webform\WebformInterface::getVariantsData()

Get variants data from a webform submission.

Parameters

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.

Return value

array A associative array containing the variant element keys and variant value.

1 method overrides WebformInterface::getVariantsData()
Webform::getVariantsData in src/Entity/Webform.php
Get variants data from a webform submission.

File

src/WebformInterface.php, line 1125

Class

WebformInterface
Provides an interface defining a webform entity.

Namespace

Drupal\webform

Code

public function getVariantsData(WebformSubmissionInterface $webform_submission);