public function Webform::getElementsVariant in Webform 8.5
Same name and namespace in other branches
- 6.x src/Entity/Webform.php \Drupal\webform\Entity\Webform::getElementsVariant()
Get webform variant elements.
Return value
array Webform variant elements.
Overrides WebformInterface::getElementsVariant
2 calls to Webform::getElementsVariant()
- Webform::applyVariants in src/
Entity/ Webform.php - Apply webform variants based on a webform submission or parameter.
- Webform::getVariantsData in src/
Entity/ Webform.php - Get variants data from a webform submission.
File
- src/
Entity/ Webform.php, line 1329
Class
- Webform
- Defines the webform entity.
Namespace
Drupal\webform\EntityCode
public function getElementsVariant() {
$this
->initElements();
return $this->elementsVariant;
}