public function Webform::isArchived in Webform 8.5
Same name and namespace in other branches
- 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\EntityCode
public function isArchived() {
return $this->archive ? TRUE : FALSE;
}