public function ConverterInterface::convert in Drupal 7 to 8/9 Module Upgrader 8
Performs required conversions.
Parameters
TargetInterface $target: The target module to convert.
30 methods override ConverterInterface::convert()
- Blocks::convert in src/
Plugin/ DMU/ Converter/ Blocks.php - Performs required conversions.
- ContentRoute::convert in src/
Plugin/ DMU/ Routing/ ContentRoute.php - Conform with ConverterInterface, which we implement through ConverterBase. Because route conversion is so complex, the Routing plugin never calls this method. It relies instead on the other methods defined in RouteConverterInterface.
- EntityHooks::convert in src/
Plugin/ DMU/ Converter/ EntityHooks.php - Performs required conversions.
- FunctionCallModifier::convert in src/
Plugin/ DMU/ Converter/ Functions/ FunctionCallModifier.php - Performs required conversions.
- Grep::convert in src/
Plugin/ DMU/ Converter/ Grep.php - Performs required conversions.
File
- src/
ConverterInterface.php, line 28
Class
- ConverterInterface
- Interface implemented by all plugins which can modify a Drupal 7 module and convert part of it to Drupal 8.
Namespace
Drupal\drupalmoduleupgraderCode
public function convert(TargetInterface $target);