public static function ConfigurationUpdate::getUpdateFunctionName in Update helper 2.x
Get update hook function name.
Parameters
string $module_name: Module name.
string $update_number: Update number.
Return value
string Returns update hook function name.
3 calls to ConfigurationUpdate::getUpdateFunctionName()
- CommandGcuSubscriber::onExecute in modules/
update_helper_checklist/ src/ Events/ CommandGcuSubscriber.php - Handles configuration update generation.
- CommandSubscriber::onExecute in src/
Events/ CommandSubscriber.php - Handles execute for configuration update generation to create update hook.
- ConfigurationUpdate::interact in src/
Generators/ ConfigurationUpdate.php
File
- src/
Generators/ ConfigurationUpdate.php, line 208
Class
- ConfigurationUpdate
- Implements d8:configuration:update command.
Namespace
Drupal\update_helper\GeneratorsCode
public static function getUpdateFunctionName($module_name, $update_number) {
return $module_name . '_update_' . $update_number;
}