- Issue created by @mglaman
- Merge request !704Get image media type source field name dynamically β (Merged) created by mglaman
- πΊπΈUnited States mglaman WI, USA
This partially solves the problem.
\Drupal\experience_builder\Plugin\ExperienceBuilder\ComponentSource\GeneratedFieldExplicitInputUxComponentSourceBase::findTargetForProps
has the field hardcoded in an entity query// TRICKY: this is tightly coupled to `media_library_storage_prop_shape_alter()`! $query = $this->entityTypeManager->getStorage('media')->getQuery()->condition('field_media_image.target_id', $file_id)->accessCheck();
Otherwise the tests which have it hardcoded should be fine.
- πΊπΈUnited States effulgentsia
mglaman β credited effulgentsia β .
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
mglaman β credited larowlan β .
-
mglaman β
committed f16a2acd on 0.x
Issue #3508944 by mglaman, effulgentsia, larowlan: Image component...
-
mglaman β
committed f16a2acd on 0.x
Automatically closed - issue fixed for 2 weeks with no activity.