5 use Drupal\Core\Config\ConfigFactoryInterface;
17 private $configService;
22 private function setConfigService(ConfigFactoryInterface $configService) {
23 $this->configService = $configService;
34 private function getPropertyList() : array {
35 if (isset($this->configService)) {
36 $list = $this->configService->get(
'metastore.settings')->get(
'property_list');
37 return array_values(array_filter($list));
39 throw new \Exception(
"Can't get property list, the config service was not set.");
51 private function emptyPropertyOfSameType($data) {
52 if (is_array($data)) {
61 private function getUuidService() {