Skip to content
Snippets Groups Projects

Issue #3008292 by phenaproxima, dimitriskr: ImageItem::getUploadValidators()...

11 files
+ 164
72
Compare changes
  • Side-by-side
  • Inline
Files
11
@@ -345,7 +345,7 @@ protected static function doGetUploadLocation(array $settings, $data = []) {
* element's '#upload_validators' property.
*/
public function getUploadValidators() {
return $this->getFileUploadValidators($this->getSettings());
return $this->getFileUploadValidators($this->getFieldDefinition());
}
/**
Loading