public function MimeMapManager::getMappingErrors in Sophron 8
Gets the initialization errors of a map class.
Parameters
string $map_class: A FQCN.
Return value
array The array of mapping errors.
Overrides MimeMapManagerInterface::getMappingErrors
File
- src/
MimeMapManager.php, line 138
Class
- MimeMapManager
- Provides a sensible mapping between filename extensions and MIME types.
Namespace
Drupal\sophronCode
public function getMappingErrors($map_class) {
$this
->setMapClass($map_class);
return isset($this->initializedMapClasses[$map_class]) ? $this->initializedMapClasses[$map_class] : [];
}