/** * {@inheritdoc} */ public function getOptions($id) { try { return $this->rawLayout->getProperty($id, RawLayout::OPTIONS); } catch (\Exception $e) { throw new Exception\LogicException(sprintf('Cannot get options for "%s" item. Reason: %s', $id, $e->getMessage()), 0, $e); } }
/** * {@inheritdoc} */ public function getTypeName() { $blockType = $this->rawLayout->getProperty($this->id, RawLayout::BLOCK_TYPE, true); return $blockType instanceof BlockTypeInterface ? $blockType->getName() : $blockType; }
/** * {@inheritdoc} */ public function getOptions() { return $this->rawLayout->getProperty($this->id, RawLayout::RESOLVED_OPTIONS, true); }