@@ -353,8 +353,7 @@ class AdminController extends EasyAdminController | |||
$type = $child->getConfig()->getType()->getInnerType() ; | |||
if($type instanceof EntityType) { | |||
$attributes = $child->getConfig()->getAttributes() ; | |||
$passedOptions = $attributes['data_collector/passed_options'] ; | |||
$passedOptions = $child->getConfig()->getOptions() ; | |||
$classImplements = class_implements($passedOptions['class']) ; | |||
if(in_array('App\Context\FilterHubInterface', $classImplements) || |