You are here

public function UpdateInterface::setSuccessfulByHook in Update helper 8

Same name and namespace in other branches
  1. 2.x modules/update_helper_checklist/src/Entity/UpdateInterface.php \Drupal\update_helper_checklist\Entity\UpdateInterface::setSuccessfulByHook()

Set successful_by_hook field value.

Parameters

bool $success: Update was successful or not.

Return value

mixed This object.

1 method overrides UpdateInterface::setSuccessfulByHook()
Update::setSuccessfulByHook in modules/update_helper_checklist/src/Entity/Update.php
Set successful_by_hook field value.

File

modules/update_helper_checklist/src/Entity/UpdateInterface.php, line 30

Class

UpdateInterface
Interface for the Update entity.

Namespace

Drupal\update_helper_checklist\Entity

Code

public function setSuccessfulByHook($success);