Updates multiple components, while capturing & returning errors and warnings.
public updateComponents ( string[] $componentsWithUpdateFile ) : array | ||
$componentsWithUpdateFile | string[] | Component names mapped with arrays of update files. Same structure as the result of `getComponentsWithUpdateFile()`. |
return | array | Information about the update process, including: * **warnings**: The list of warnings that occurred during the update process. * **errors**: The list of updater exceptions thrown during individual component updates. * **coreError**: True if an exception was thrown while updating core. * **deactivatedPlugins**: The list of plugins that were deactivated due to an error in the update process. |