interface UpdateInterface in Automatic Updates 8
Interface UpdateInterface.
Hierarchy
- interface \Drupal\automatic_updates\Services\UpdateInterface
Expanded class hierarchy of UpdateInterface
All classes that implement UpdateInterface
2 files declare their use of UpdateInterface
- InPlaceUpdateController.php in src/
Controller/ InPlaceUpdateController.php - InPlaceUpdateController.php in tests/
modules/ test_automatic_updates/ src/ Controller/ InPlaceUpdateController.php
File
- src/
Services/ UpdateInterface.php, line 10
Namespace
Drupal\automatic_updates\ServicesView source
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);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
UpdateInterface:: |
public | function | Update a project to the next release. | 1 |