Lines Matching refs:block_id
62 * @param int $block_id
68 public function getBlock(Tree $tree, int $block_id, string $context, array $config = []): string argument
71 $num = $this->getBlockSetting($block_id, 'num', self::DEFAULT_NUMBER);
72 $infoStyle = $this->getBlockSetting($block_id, 'infoStyle', self::DEFAULT_STYLE);
105 'id' => $block_id,
106 'config_url' => $this->configUrl($tree, $context, $block_id),
151 * @param int $block_id
155 public function saveBlockConfiguration(ServerRequestInterface $request, int $block_id): void argument
160 $this->setBlockSetting($block_id, 'num', (string) $num);
161 $this->setBlockSetting($block_id, 'infoStyle', $info_style);
168 * @param int $block_id
172 public function editBlockConfiguration(Tree $tree, int $block_id): string argument
174 $num = (int) $this->getBlockSetting($block_id, 'num', self::DEFAULT_NUMBER);
175 $info_style = $this->getBlockSetting($block_id, 'infoStyle', self::DEFAULT_STYLE);