Lines Matching refs:block_id
85 * @param int $block_id
91 public function getBlock(Tree $tree, int $block_id, string $context, array $config = []): string argument
93 $num = (int) $this->getBlockSetting($block_id, 'num', self::DEFAULT_NUMBER);
94 $info_style = $this->getBlockSetting($block_id, 'infoStyle', self::DEFAULT_STYLE);
191 'id' => $block_id,
192 'config_url' => $this->configUrl($tree, $context, $block_id),
237 * @param int $block_id
241 public function saveBlockConfiguration(ServerRequestInterface $request, int $block_id): void argument
246 $this->setBlockSetting($block_id, 'num', (string) $num);
247 $this->setBlockSetting($block_id, 'infoStyle', $info_style);
254 * @param int $block_id
258 public function editBlockConfiguration(Tree $tree, int $block_id): string argument
260 $num = $this->getBlockSetting($block_id, 'num', self::DEFAULT_NUMBER);
261 $info_style = $this->getBlockSetting($block_id, 'infoStyle', self::DEFAULT_STYLE);