value('id'); if ($categoryId) { return Block::getByCategoryId($categoryId); } return []; } }