code: public function getFieldConfiguration()
      {
          if (!$this->isInDB()) {
              $field = LiteralField::create('Options', '<p class="message notice">Once you save this field you will be able to add options</p>');
          } else {
              $config = GridFieldConfig_RelationEditor::create()
                  ->addComponent(new GridFieldOrderableRows('Sort'));
  
              $config
                  ->getComponentByType('GridFieldDataColumns')
                  ->setDisplayFields([
                      'Name'    => 'Name',
                      'Title'   => 'Title',
                      'Default' => 'Default',
                  ])
                  ->setFieldFormatting([
                      'Default' => function ($_, Moo_EditableFieldOption $option) {
                          return $option->Default ? 'Yes' : 'No';
                      },
                  ]);
              $field = GridField::create('Options', 'Options', $this->Options(), $config);
          }
  
          return [
              $field,
          ];
      }
docs: Get extra configuration fields.
  
  @return array