You are here

public function Webform::isArchived in Webform 8.5

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

Returns the webform archive indicator.

Return value

bool TRUE if the webform is archived.

Overrides WebformInterface::isArchived

1 call to Webform::isArchived()
Webform::isOpen in src/Entity/Webform.php
Returns the webform opened status indicator.

File

src/Entity/Webform.php, line 698

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

public function isArchived() {
  return $this->archive ? TRUE : FALSE;
}