You are here

public function Webform::isOverridden in Webform 8.5

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

Returns the webform override status.

Return value

bool TRUE if the webform has any overridden settings or properties.

Overrides WebformInterface::isOverridden

2 calls to Webform::isOverridden()
Webform::getSubmissionForm in src/Entity/Webform.php
Get webform submission webform.
Webform::preSave in src/Entity/Webform.php
Acts on an entity before the presave hook is invoked.

File

src/Entity/Webform.php, line 583

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

public function isOverridden() {
  return $this->override || $this->elementsTranslated;
}