public function Update::setSuccessfulByHook in Update helper 8
Same name and namespace in other branches
- 2.x modules/update_helper_checklist/src/Entity/Update.php \Drupal\update_helper_checklist\Entity\Update::setSuccessfulByHook()
Set successful_by_hook field value.
Parameters
bool $success: Update was successful or not.
Return value
mixed This object.
Overrides UpdateInterface::setSuccessfulByHook
File
- modules/
update_helper_checklist/ src/ Entity/ Update.php, line 36
Class
- Update
- Defines the Contact entity.
Namespace
Drupal\update_helper_checklist\EntityCode
public function setSuccessfulByHook($success) {
$this
->set('successful_by_hook', $success);
return $this;
}