protected function ConfigurationUpdateGenerator::getUpdateFunctionName in Update helper 8
Same name in this branch
- 8 src/Generator/ConfigurationUpdateGenerator.php \Drupal\update_helper\Generator\ConfigurationUpdateGenerator::getUpdateFunctionName()
- 8 modules/update_helper_checklist/src/Generator/ConfigurationUpdateGenerator.php \Drupal\update_helper_checklist\Generator\ConfigurationUpdateGenerator::getUpdateFunctionName()
Get update hook function name.
Parameters
string $module_name: Module name.
string $update_number: Update number.
Return value
string Returns update hook function name.
1 call to ConfigurationUpdateGenerator::getUpdateFunctionName()
- ConfigurationUpdateGenerator::generate in src/
Generator/ ConfigurationUpdateGenerator.php - Generate patch file for listed modules in module defined for command.
File
- src/
Generator/ ConfigurationUpdateGenerator.php, line 58
Class
- ConfigurationUpdateGenerator
- Configuration update generator for generate:configuration:update command.
Namespace
Drupal\update_helper\GeneratorCode
protected function getUpdateFunctionName($module_name, $update_number) {
return $module_name . '_update_' . $update_number;
}