1 ckeditor5.upgrade.inc | ckeditor5_upgrade_warnings($format) |
Return any warnings that may occur during a CKEditor 4 to 5 upgrade.
Parameters
stdClass $format: The text format to be upgraded.
Return value
array: Any warnings that will occur during the upgrade.
File
- core/
modules/ ckeditor5/ ckeditor5.upgrade.inc, line 98 - CKEditor 4 to CKEditor 5 upgrade code.
Code
function ckeditor5_upgrade_warnings($format) {
$warnings = array();
_ckeditor5_upgrade_format($format, $warnings);
return $warnings;
}