interface ConverterInterface in Drupal 7 to 8/9 Module Upgrader 8
Interface implemented by all plugins which can modify a Drupal 7 module and convert part of it to Drupal 8.
Hierarchy
- interface \Drupal\drupalmoduleupgrader\ConverterInterface
Expanded class hierarchy of ConverterInterface
All classes that implement ConverterInterface
1 string reference to 'ConverterInterface'
File
- src/
ConverterInterface.php, line 9
Namespace
Drupal\drupalmoduleupgraderView source
interface ConverterInterface {
/**
* Returns if this conversion applies to the target module. If FALSE,
* the convert() method will not be called.
*
* @param TargetInterface $target
* The target module.
*
* @return bool
*/
public function isExecutable(TargetInterface $target);
/**
* Performs required conversions.
*
* @param TargetInterface $target
* The target module to convert.
*/
public function convert(TargetInterface $target);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConverterInterface:: |
public | function | Performs required conversions. | 30 |
ConverterInterface:: |
public | function | Returns if this conversion applies to the target module. If FALSE, the convert() method will not be called. | 1 |