Commit fb1d0b35 authored by catch's avatar catch
Browse files

Issue #3410361 by claudiu.cristea, jonathan1055, lauriii: Fix the deprecation...

Issue #3410361 by claudiu.cristea, jonathan1055, lauriii: Fix the deprecation URL for #3356894 and #3372097

(cherry picked from commit f1d04f61)
parent 473f77f6
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ public function processDefinition(&$definition, $plugin_id) {
    }

    if ($definition['category'] instanceof TranslatableMarkup) {
      @trigger_error('Using a translatable string as a category for field type is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/3364271', E_USER_DEPRECATED);
      @trigger_error('Using a translatable string as a category for field type is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/3375748', E_USER_DEPRECATED);
      $definition['category'] = FieldTypeCategoryManagerInterface::FALLBACK_CATEGORY;
    }
    elseif (empty($definition['category'])) {