Example #1
0
 /**
  * {@inheritDoc}
  */
 protected function getBlockOwners()
 {
     $blockOwners = [];
     if ($this->template->getBlock()) {
         $blockOwners[] = $this->template->getBlock();
     }
     if ($this->template->getParent()) {
         $blockOwners[] = $this->template->getParent()->getBlock();
     }
     return $blockOwners;
 }