Skip to content

[Forwardport] Add getters to product image builder#14433

Merged
magento-engcom-team merged 1 commit into
magento:2.3-developfrom
namlier:2.3-develop-PR-port-13414
Mar 30, 2018
Merged

[Forwardport] Add getters to product image builder#14433
magento-engcom-team merged 1 commit into
magento:2.3-developfrom
namlier:2.3-develop-PR-port-13414

Conversation

@namlier

@namlier namlier commented Mar 29, 2018

Copy link
Copy Markdown
Contributor

Original Pull Request

#13414
Hello,

Description

I have added the attributes getter into the product image builder, class Magento\Catalog\Block\Product\ImageBuilder in order to get them in a plugin for example. We may want to add some attributes and use $subject->getProduct() to get product's data.

Fixed Issues (if relevant)

N/A.

Manual testing scenarios

N/A.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@namlier namlier changed the title Add product ID to image builder [Forwardport] Add getters to product image builder Mar 29, 2018
@rogyar rogyar self-assigned this Mar 29, 2018
@magento-engcom-team magento-engcom-team added this to the March 2018 milestone Mar 29, 2018
@magento-engcom-team magento-engcom-team merged commit 10b03e5 into magento:2.3-develop Mar 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants