public function ConfigHandler::loadUpdate in Update helper 2.x
Same name and namespace in other branches
- 8 src/ConfigHandler.php \Drupal\update_helper\ConfigHandler::loadUpdate()
Load update definition from file.
Parameters
string $module_name: Module name.
string $update_name: Update name.
Return value
mixed Returns update definition.
File
- src/
ConfigHandler.php, line 401
Class
- ConfigHandler
- Configuration handler.
Namespace
Drupal\update_helperCode
public function loadUpdate($module_name, $update_name) {
return $this->serializer
->decode(file_get_contents($this
->getPatchFile($module_name, $update_name)));
}