Lines Matching refs:block_id

95      * @param int                  $block_id
101 public function getBlock(Tree $tree, int $block_id, string $context, array $config = []): string argument
103 $days = (int) $this->getBlockSetting($block_id, 'days', self::DEFAULT_DAYS);
104 $infoStyle = $this->getBlockSetting($block_id, 'infoStyle', self::DEFAULT_INFO_STYLE);
105 $sortStyle = $this->getBlockSetting($block_id, 'sortStyle', self::DEFAULT_SORT_STYLE);
106 $show_user = (bool) $this->getBlockSetting($block_id, 'show_user', self::DEFAULT_SHOW_USER);
107 $show_date = (bool) $this->getBlockSetting($block_id, 'show_date', self::DEFAULT_SHOW_DATE);
108 $source = $this->getBlockSetting($block_id, 'source', self::DEFAULT_SOURCE);
140 'id' => $block_id,
161 'id' => $block_id,
162 'config_url' => $this->configUrl($tree, $context, $block_id),
207 * @param int $block_id
211 public function saveBlockConfiguration(ServerRequestInterface $request, int $block_id): void argument
220 $this->setBlockSetting($block_id, 'days', (string) $days);
221 $this->setBlockSetting($block_id, 'infoStyle', $info_style);
222 $this->setBlockSetting($block_id, 'sortStyle', $sort_style);
223 $this->setBlockSetting($block_id, 'show_date', (string) $show_date);
224 $this->setBlockSetting($block_id, 'show_user', (string) $show_user);
225 $this->setBlockSetting($block_id, 'source', $source);
232 * @param int $block_id
236 public function editBlockConfiguration(Tree $tree, int $block_id): string argument
238 $days = (int) $this->getBlockSetting($block_id, 'days', self::DEFAULT_DAYS);
239 $infoStyle = $this->getBlockSetting($block_id, 'infoStyle', self::DEFAULT_INFO_STYLE);
240 $sortStyle = $this->getBlockSetting($block_id, 'sortStyle', self::DEFAULT_SORT_STYLE);
241 $show_date = $this->getBlockSetting($block_id, 'show_date', self::DEFAULT_SHOW_DATE);
242 $show_user = $this->getBlockSetting($block_id, 'show_user', self::DEFAULT_SHOW_USER);
243 $source = $this->getBlockSetting($block_id, 'source', self::DEFAULT_SOURCE);