/** * Merge in presets from the definition */ protected function mergePresets() { $presets = $this->definition->getPresetFields(); $this->options = $this->options + $presets; }
public function testGetPresetFields() { $this->assertEquals(["export_escape" => "1"], $this->instance->getPresetFields()); }