private function getConfig($planning_id)
 {
     $config = $this->config_factory->getOnTopConfigByPlanning($this->getPlanning($planning_id));
     if ($config && $config->isEnabled()) {
         return $config;
     }
     throw new CardControllerBuilderRequestDataException();
 }