You are here

interface DatabaseUpdateHandlerInterface in Automatic Updates 8

Interface for database_update_handler plugins.

Hierarchy

Expanded class hierarchy of DatabaseUpdateHandlerInterface

All classes that implement DatabaseUpdateHandlerInterface

File

src/DatabaseUpdateHandlerInterface.php, line 8

Namespace

Drupal\automatic_updates
View source
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();

}

Members

Namesort descending Modifiers Type Description Overrides
DatabaseUpdateHandlerInterface::execute public function Handle database updates. 5
DatabaseUpdateHandlerInterface::label public function Returns the translated plugin label. 1