Skip to content
Snippets Groups Projects

Draft: Issue #3519934 by grimreaper, pdureau: Add ui_patterns_field_widgets sub-module

Open Draft: Issue #3519934 by grimreaper, pdureau: Add ui_patterns_field_widgets sub-module
1 unresolved thread
1 unresolved thread

Closes #3519934

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
74 */
75 protected ContextEntityResolverInterface $chainContextEntityResolver;
76
77 /**
78 * The provided plugin contexts.
79 *
80 * @var array|null
81 */
82 protected $context = NULL;
83
84 /**
85 * {@inheritdoc}
86 */
87 public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition): static {
88 $instance = parent::create($container, $configuration, $plugin_id, $plugin_definition);
89 $instance->componentPluginManager = $container->get('plugin.manager.sdc');
  • Currently a ton of duplication with:

    • modules/ui_patterns_field_formatters/src/Plugin/Field/FieldFormatter/FormatterBase.php
    • modules/ui_patterns_field_formatters/src/Plugin/Field/FieldFormatter/ComponentFormatterBase.php
    • modules/ui_patterns_field_formatters/src/Plugin/Field/FieldFormatter/ComponentFormatter.php
  • Please register or sign in to reply
  • added 1 commit

    • 204eaf21 - Issue #3519934 by grimreaper, pdureau: Add ui_patterns_field_widgets sub-module

    Compare with previous version

  • Please register or sign in to reply
    Loading