You are here

YamlFormToWebformMigrateManagerInterface.php in YAML Form 8

File

modules/yamlform_to_webform/src/YamlFormToWebformMigrateManagerInterface.php
View source
<?php

namespace Drupal\yamlform_to_webform;


/**
 * Provides an interface for YAML Form to Webform migration.
 */
interface YamlFormToWebformMigrateManagerInterface {

  /**
   * Check requirements.
   *
   * @return array
   *   An associative array containing error messages.
   */
  public function requirements();

  /**
   * Migrate the YAML Form module's configuration and data to the Webform module.
   *
   * @return array
   *   An associative array containing status messages.
   */
  public function migrate();

}

Interfaces

Namesort descending Description
YamlFormToWebformMigrateManagerInterface Provides an interface for YAML Form to Webform migration.