code: public function getDcaAttributes(PickerConfig $config): array
      {
          if ('file' === $config->getContext()) {
              return $this->getFileDcaAttributes($config);
          }
  
          return $this->getLinkDcaAttributes($config);
      }
docs: {@inheritdoc}