function getDOIStructuralType() { $deployment = $this->getDeployment(); $context = $deployment->getContext(); $plugin = $deployment->getPlugin(); if ($this->isWork($context, $plugin)) { return 'Abstraction'; } else { return 'DigitalFixation'; } }