Problem/Motivation

Drupal\paragraphs\ParagraphsBehaviorBase currently inherits Drupal\Component\Plugin\PluginBase which does not provide helpers for translations and dependency serializaiton.

Proposed resolution

  • Replace Drupal\Component\Plugin\PluginBase with Drupal\Core\Plugin\PluginBase in Drupal\paragraphs\ParagraphsBehaviorBase
  • Remove StringTranslationTrait and DependencySerializationTrait usages if there are any

Remaining tasks

User interface changes

API changes

Data model changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mbovan created an issue. See original summary.

arunkumark’s picture

Assigned: Unassigned » arunkumark
arunkumark’s picture

Assigned: arunkumark » Unassigned
Status: Active » Needs review
FileSize
964 bytes

I have created a patch as per the proposed solution.

miro_dietiker’s picture

Status: Needs review » Fixed

Fixed thx.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.