You are here

interface UpdateInterface in Automatic Updates 8

Interface UpdateInterface.

Hierarchy

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\Services
View 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

Namesort descending Modifiers Type Description Overrides
UpdateInterface::update public function Update a project to the next release. 1