You are here

public function Webform::hasComputed in Webform 8.5

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

Determine if the webform's elements include computed values.

Return value

bool TRUE if the webform's elements include computed values.

Overrides WebformInterface::hasComputed

File

src/Entity/Webform.php, line 796

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

public function hasComputed() {
  $this
    ->initElements();
  return !empty($this->elementsComputed) ? TRUE : FALSE;
}