Lines Matching refs:block_id
93 * @param int $block_id
99 public function getBlock(Tree $tree, int $block_id, string $context, array $config = []): string argument
103 $sendmail = (bool) $this->getBlockSetting($block_id, 'sendmail', '1');
104 $days = (int) $this->getBlockSetting($block_id, 'days', '1');
183 'id' => $block_id,
184 'config_url' => $this->configUrl($tree, $context, $block_id),
232 * @param int $block_id
236 public function saveBlockConfiguration(ServerRequestInterface $request, int $block_id): void argument
241 $this->setBlockSetting($block_id, 'days', (string) $days);
242 $this->setBlockSetting($block_id, 'sendmail', $sendmail);
249 * @param int $block_id
253 public function editBlockConfiguration(Tree $tree, int $block_id): string argument
255 $sendmail = $this->getBlockSetting($block_id, 'sendmail', '1');
256 $days = $this->getBlockSetting($block_id, 'days', '1');