config = $config; $this->appManager = $appManager; } /** * Return this classes capabilities * * @return array{files: array{versioning: bool, version_labeling: bool, version_deletion: bool}} */ public function getCapabilities() { return [ 'files' => [ 'versioning' => true, 'version_labeling' => $this->config->getSystemValueBool('enable_version_labeling', true), 'version_deletion' => $this->config->getSystemValueBool('enable_version_deletion', true), ] ]; } }