You are here

public function Webform::getElementsOriginalRaw in Webform 8.5

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

Get original elements (YAML) value.

Return value

string|null The original elements' raw value. Original elements is NULL for new YAML webforms.

Overrides WebformInterface::getElementsOriginalRaw

File

src/Entity/Webform.php, line 1237

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

public function getElementsOriginalRaw() {
  return $this->elementsOriginal;
}