Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
StepAbstract.php
Go to the documentation of this file.
1 <?php
7 
12 {
16  public function getContent()
17  {
18  return $this->toHtml();
19  }
20 
24  public function getParentComponentName()
25  {
26  return $this->getParentBlock()->getComponentName();
27  }
28 
32  public function getComponentName()
33  {
34  if (null === $this->getData('component_name')) {
35  $this->setData('component_name', $this->getParentComponentName() . '_' . $this->getNameInLayout());
36  }
37  return $this->getData('component_name');
38  }
39 }
getData($key='', $index=null)
Definition: DataObject.php:119
setData($key, $value=null)
Definition: DataObject.php:72