Skip to content

[Forwardport] Fixed documentation about viewModels #15154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dmytro-ch
Copy link
Contributor

@dmytro-ch dmytro-ch commented May 11, 2018

Original PR: #15067

Fixed documentation about viewModels. The key in XML should be view_model instead of viewMode.

Description

\Magento\Backend\Block\Template documents view models and how to use them in blocks. The key used in arguments was viewModel which is wrong. Changed it to view_model and added an extra line about how to call these view models

Manual testing scenarios

Changed comments. Hence not applicable

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)

@dmytro-ch dmytro-ch requested a review from rogyar May 11, 2018 10:53
@magento-cicd2
Copy link
Contributor

magento-cicd2 commented May 11, 2018

CLA assistant check
All committers have signed the CLA.

@dmytro-ch dmytro-ch changed the base branch from 2.2-develop to 2.1-develop May 11, 2018 10:54
@dmytro-ch dmytro-ch changed the base branch from 2.1-develop to 2.3-develop May 11, 2018 10:54
@dmytro-ch dmytro-ch added Release Line: 2.3 Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner labels May 11, 2018
@magento-engcom-team magento-engcom-team added this to the May 2018 milestone May 11, 2018
@rogyar rogyar removed their assignment May 11, 2018
@DanielRuf DanielRuf self-requested a review May 11, 2018 21:44
@magento-engcom-team
Copy link
Contributor

Hi @dmytro-ch. Thank you for your contribution.
Changes from your Pull Request will be available with the upcoming 2.3.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner Progress: accept Release Line: 2.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants