UpdateInterface.php in Update helper 8
Same filename and directory in other branches
Namespace
Drupal\update_helper_checklist\EntityFile
modules/update_helper_checklist/src/Entity/UpdateInterface.phpView source
<?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);
}
Interfaces
Name![]() |
Description |
---|---|
UpdateInterface | Interface for the Update entity. |