nerdexam
Magento

M70-301 · Question #45

In layout XML, which of the following action methods would you use to define the block identifier on a block of type cms/block?

The correct answer is D. <action method="setBlockId">. See the full explanation below for the reasoning.

Question

In layout XML, which of the following action methods would you use to define the block identifier on a block of type cms/block?

Options

  • A<action method="addBlockId">
  • B<Action method= "setStaticBlock">
  • C<action method="setBlockName">
  • D<action method="setBlockId">

How the community answered

(15 responses)
  • A
    7% (1)
  • C
    13% (2)
  • D
    80% (12)

Community Discussion

No community discussion yet for this question.

Full M70-301 Practice