Access record data

Is it possible to access the data of a record before returning the form?

  public static function form(Form $form): Form
  {
    // Here I would like to access the record data before returning the form

      return $form
          ->columns(1)
          ->schema(Product::getForm());
  }
Was this page helpful?