What are two ways to access the view model class in the template?
An Adobe Commerce developer is using a view model within an existing block:
What are two ways to access the view model class in the template? (Choose two.)
A . $block->getviewModel()
B. $block->getData( ‘ view_model ‘ )
C. $block->getData( ‘ viewModel ‘ )
D. $block->viewModel()
Answer: A B
Latest AD0-E710 Dumps Valid Version with 94 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments