You are here

DatabaseUpdateHandlerInterface.php in Automatic Updates 8

File

src/DatabaseUpdateHandlerInterface.php
View source
<?php

namespace Drupal\automatic_updates;


/**
 * Interface for database_update_handler plugins.
 */
interface DatabaseUpdateHandlerInterface {

  /**
   * Returns the translated plugin label.
   *
   * @return string
   *   The translated title.
   */
  public function label();

  /**
   * Handle database updates.
   *
   * @return bool
   *   TRUE if database update was handled successfully, FALSE otherwise.
   */
  public function execute();

}

Interfaces

Namesort descending Description
DatabaseUpdateHandlerInterface Interface for database_update_handler plugins.