Commit 33455440 authored by Stefan Borchert's avatar Stefan Borchert
Browse files

#3258673: fix update-hook to move configuration to paragraphs_features

parent 0fc7f669
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -44,9 +44,9 @@ function paragraphs_ee_update_8002() {

    foreach ($paragraph_field_keys as $field_key) {
      $field_name = $field_keys[$field_key];
      if (isset($content[$field_name]['third_party_settings']['paragraphs_features']) && isset($content[$field_name]['third_party_settings']['paragraphs_ee']['easy_access_count'])) {
      if (isset($content[$field_name]['third_party_settings']['paragraphs_features']) && isset($content[$field_name]['third_party_settings']['paragraphs_ee']['paragraphs_ee']['easy_access_count'])) {
        // Set value for number of add-in-between links.
        $content[$field_name]['third_party_settings']['paragraphs_features']['add_in_between_link_count'] = $content[$field_name]['third_party_settings']['paragraphs_ee']['easy_access_count'];
        $content[$field_name]['third_party_settings']['paragraphs_features']['add_in_between_link_count'] = $content[$field_name]['third_party_settings']['paragraphs_ee']['paragraphs_ee']['easy_access_count'];
        $config_changed = TRUE;
      }
    }