UpdateInterface.php in Automatic Updates 8
Namespace
Drupal\automatic_updates\ServicesFile
src/Services/UpdateInterface.phpView source
<?php
namespace Drupal\automatic_updates\Services;
use Drupal\automatic_updates\UpdateMetadata;
/**
* Interface UpdateInterface.
*/
interface UpdateInterface {
/**
* Update a project to the next release.
*
* @param \Drupal\automatic_updates\UpdateMetadata $metadata
* The update metadata.
*
* @return bool
* TRUE if project was successfully updated, FALSE otherwise.
*/
public function update(UpdateMetadata $metadata);
}
Interfaces
Name | Description |
---|---|
UpdateInterface | Interface UpdateInterface. |