You are here

public function Update::wasSuccessfulByHook in Update helper 8

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

Returns if an update was successful during update hook.

Return value

bool Update was successful or not.

Overrides UpdateInterface::wasSuccessfulByHook

File

modules/update_helper_checklist/src/Entity/Update.php, line 29

Class

Update
Defines the Contact entity.

Namespace

Drupal\update_helper_checklist\Entity

Code

public function wasSuccessfulByHook() {
  return $this
    ->get('successful_by_hook')->value;
}