Problem/Motivation

The plugin manager sets and alter info, but this isn't used because the factory is not alter compatible.

Steps to reproduce

* Implement hook_sidebar_info_alter
* use it to change the class of a plugin
* Note the class is never invoked

Proposed resolution

Don't override the default factory

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 3177018.patch410 byteslarowlan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

larowlan created an issue. See original summary.

larowlan’s picture

Status: Active » Needs review
FileSize
410 bytes

  • akalata committed 6fae4ca on 8.x-2.x authored by larowlan
    Issue #3177018 by larowlan: Cannot alter plugin class with...
akalata’s picture

Title: Cannot alter plugin class with hook_sidebar_into_alter » Cannot alter plugin class with hook_sitemap_info_alter
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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