3 namespace Drupal\drupalmoduleupgrader;
6 * Interface implemented by all plugins which can modify a Drupal 7 module and
7 * convert part of it to Drupal 8.
9 interface ConverterInterface {
12 * Returns if this conversion applies to the target module. If FALSE,
13 * the convert() method will not be called.
15 * @param TargetInterface $target
20 public function isExecutable(TargetInterface $target);
23 * Performs required conversions.
25 * @param TargetInterface $target
26 * The target module to convert.
28 public function convert(TargetInterface $target);