/**
  * {@inheritdoc}
  */
 protected function isReadOnly($options)
 {
     /** @var EntityConfigId $configId */
     $configId = $options['config_id'];
     $className = $configId->getClassName();
     if (!empty($className) && $this->typeHelper->isDictionary($className) && !$this->typeHelper->isSupportActivityEnabled($className)) {
         return true;
     }
     return parent::isReadOnly($options);
 }
 /**
  * {@inheritdoc}
  */
 protected function isReadOnly($options)
 {
     /** @var EntityConfigId $configId */
     $configId = $options['config_id'];
     $className = $configId->getClassName();
     if (!empty($className)) {
         if ($this->typeHelper->isAssociationOwningSideEntity($className, $options['association_class'])) {
             return true;
         }
         if ($this->typeHelper->isDictionary($className)) {
             return true;
         }
     }
     return parent::isReadOnly($options);
 }