block = $block; parent::__construct($context, $components, $data); } /** * Get wrapped block * * @return BlockInterface */ public function getBlock() { return $this->block; } /** * Get component name * * @return string */ public function getComponentName() { return static::NAME; } /** * @return string */ public function render() { return $this->block->toHtml(); } /** * {@inheritdoc} */ public function getConfiguration() { return array_merge( (array) $this->block->getData('config'), (array) $this->getData('config') ); } }