You are here

interface UpdaterInterface in Update helper 8

Same name and namespace in other branches
  1. 2.x src/UpdaterInterface.php \Drupal\update_helper\UpdaterInterface

Interface for the Update entity.

Hierarchy

Expanded class hierarchy of UpdaterInterface

All classes that implement UpdaterInterface

File

src/UpdaterInterface.php, line 8

Namespace

Drupal\update_helper
View source
interface UpdaterInterface {

  /**
   * Get update logger service.
   *
   * @return \Drupal\update_helper\UpdateLogger
   *   Returns update logger.
   */
  public function logger();

  /**
   * Execute update of configuration from update definitions.
   *
   * @param string $module
   *   Module name where update definition is saved.
   * @param string $update_definition_name
   *   Update definition name. Usually same name as update hook.
   */
  public function executeUpdate($module, $update_definition_name);

}

Members

Namesort descending Modifiers Type Description Overrides
UpdaterInterface::executeUpdate public function Execute update of configuration from update definitions. 1
UpdaterInterface::logger public function Get update logger service. 1