protected function ConfigurationUpdateHookGenerator::getUpdateFunctionName in Update helper 8
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 ConfigurationUpdateHookGenerator::getUpdateFunctionName()
- ConfigurationUpdateHookGenerator::generate in src/
Generator/ ConfigurationUpdateHookGenerator.php - Generator Update N function.
File
- src/
Generator/ ConfigurationUpdateHookGenerator.php, line 43
Class
- ConfigurationUpdateHookGenerator
- Update hook generator for generate:configuration:update console command.
Namespace
Drupal\update_helper\GeneratorCode
protected function getUpdateFunctionName($module_name, $update_number) {
return $module_name . '_update_' . $update_number;
}