Lines Matching refs:block_id
80 * @param int $block_id
86 public function getBlock(Tree $tree, int $block_id, string $context, array $config = []): string argument
90 $days = (int) $this->getBlockSetting($block_id, 'days', self::DEFAULT_DAYS);
91 $infoStyle = $this->getBlockSetting($block_id, 'infoStyle', self::DEFAULT_STYLE);
92 $calendar = $this->getBlockSetting($block_id, 'calendar', self::DEFAULT_CALENDAR);
159 'id' => $block_id,
178 'id' => $block_id,
179 'config_url' => $this->configUrl($tree, $context, $block_id),
224 * @param int $block_id
228 public function saveBlockConfiguration(ServerRequestInterface $request, int $block_id): void argument
234 $this->setBlockSetting($block_id, 'days', $days);
235 $this->setBlockSetting($block_id, 'infoStyle', $info_style);
236 $this->setBlockSetting($block_id, 'calendar', $calendar);
243 * @param int $block_id
247 public function editBlockConfiguration(Tree $tree, int $block_id): string argument
249 $calendar = $this->getBlockSetting($block_id, 'calendar', 'jewish');
250 $days = $this->getBlockSetting($block_id, 'days', self::DEFAULT_DAYS);
251 $info_style = $this->getBlockSetting($block_id, 'infoStyle', 'table');