The system should be able to deduce entity plugins that implement our interface without that hook. Of course it's a bit tricky to do it without the performance impact of loading all entity classes. Challenge accepted ;-).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

axel.rutz created an issue. See original summary.

geek-merlin’s picture

Status: Active » Needs review
FileSize
4.99 KB

Patch flying in with a quick hack of this, untested yet.

geek-merlin’s picture

FIxed two typos and tested, works like a charm.

This patch must be applied on top of #2869562: Deployment does not change asset files.

  • pookmish committed eefe558 on 8.x-1.x authored by axel.rutz
    Issue #2871874 by axel.rutz: Obsolete hook_asset_injector_asset_info
    
pookmish’s picture

Status: Needs review » Fixed

This worked. I switched out one of the deprecated functions. Switched \Drupal::entityManager() with \Drupal::entityTypeManager()

  • pookmish committed eefe558 on 8.x-2.x authored by axel.rutz
    Issue #2871874 by axel.rutz: Obsolete hook_asset_injector_asset_info
    

  • axel.rutz committed e0ccf68 on 8.x-1.x
    Issue #2871874: Obsolete hook_asset_injector_asset_info
    

Status: Fixed » Closed (fixed)

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