public function getLoadingOptions($contentType = NULL)
{
$contentType = $contentType ?: $this->_contentType;
if (isset($this->_loadingContext) && isset($this->_loadingContext['contentType']) && $this->_loadingContext['contentType'] == $contentType) {
return $this->_loadingContext['options'];
} else {
return [];
}
}