public function WebformInterface::setStatus in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformInterface.php \Drupal\webform\WebformInterface::setStatus()
Sets the status of the configuration entity.
Parameters
string|bool|null $status: The status of the configuration entity.
- TRUE => WebformInterface::STATUS_OPEN.
- FALSE => WebformInterface::STATUS_CLOSED.
- NULL => WebformInterface::STATUS_SCHEDULED.
Return value
$this
Overrides ConfigEntityInterface::setStatus
File
- src/
WebformInterface.php, line 370
Class
- WebformInterface
- Provides an interface defining a webform entity.
Namespace
Drupal\webformCode
public function setStatus($status);