Lines Matching refs:location
169 * @param string $location "main" or "side"
173 public function treeBlocks(Tree $tree, UserInterface $user, string $location): Collection argument
177 ->where('location', '=', $location)
197 … foreach ([ModuleBlockInterface::MAIN_BLOCKS, ModuleBlockInterface::SIDE_BLOCKS] as $location) {
198 … foreach (ModuleBlockInterface::DEFAULT_TREE_PAGE_BLOCKS[$location] as $block_order => $class) {
204 'location' => $location,
219 * @param string $location "main" or "side"
223 public function userBlocks(Tree $tree, UserInterface $user, string $location): Collection argument
227 ->where('location', '=', $location)
247 … foreach ([ModuleBlockInterface::MAIN_BLOCKS, ModuleBlockInterface::SIDE_BLOCKS] as $location) {
248 … foreach (ModuleBlockInterface::DEFAULT_USER_PAGE_BLOCKS[$location] as $block_order => $class) {
254 'location' => $location,
298 foreach ($updates as $location => $updated_blocks) {
306 'location' => $location,
312 'location' => $location,
355 foreach ($updates as $location => $updated_blocks) {
363 'location' => $location,
369 'location' => $location,