Issue #3423935: Update hook fails if content types have not been previously set
1 unresolved thread
Merge request reports
Activity
10 10 */ 11 11 function mercury_editor_update_9001() { 12 12 $mercury_settings = Drupal::configFactory()->getEditable('mercury_editor.settings'); 13 foreach (array_keys($mercury_settings->get('content_types')) as $content_type) { 13 14 $content_types = $mercury_settings->get('content_types'); 15 16 if (empty($content_type)) { changed this line in version 2 of the diff
Please register or sign in to reply