update_helper-2.0.0/modules/update_helper_checklist/src/Entity/UpdateInterface.php
modules/update_helper_checklist/src/Entity/UpdateInterface.php
<?php
namespace Drupal\update_helper_checklist\Entity;
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Entity\EntityChangedInterface;
/**
* Interface for the Update entity.
*/
interface UpdateInterface extends ContentEntityInterface, EntityChangedInterface {
/**
* Returns if an update was successful during update hook.
*
* @return bool
* Update was successful or not.
*/
public function wasSuccessfulByHook();
/**
* Set successful_by_hook field value.
*
* @param bool $success
* Update was successful or not.
*
* @return mixed
* This object.
*/
public function setSuccessfulByHook($success);
}
