Lines Matching refs:block_id
65 * @param int $block_id
71 public function getBlock(Tree $tree, int $block_id, string $context, array $config = []): string argument
73 $num = (int) $this->getBlockSetting($block_id, 'num', self::DEFAULT_NUMBER_TO_SHOW);
104 'id' => $block_id,
105 'config_url' => $this->configUrl($tree, $context, $block_id),
150 * @param int $block_id
154 public function saveBlockConfiguration(ServerRequestInterface $request, int $block_id): void argument
158 $this->setBlockSetting($block_id, 'num', (string) $num);
165 * @param int $block_id
169 public function editBlockConfiguration(Tree $tree, int $block_id): string argument
171 $num = $this->getBlockSetting($block_id, 'num', self::DEFAULT_NUMBER_TO_SHOW);