getClass($uri); $aliasProperty = $class->getProperty(GenerisRdf::PROPERTY_ALIAS); $classProperties = $class->getProperties(true); if ($classProperties) { foreach ($classProperties as $property) { $aliasName = (string)$property->getOnePropertyValue($aliasProperty); if (!$property->getWidget()) { continue; } if ($aliasName && $this->isTextWidget($property)) { $metaDataArray[] = $property; } } } return $metaDataArray; } private function isTextWidget(core_kernel_classes_Property $property): bool { $widgetUri = $property->getWidget()->getUri(); return in_array($widgetUri, self::TEXT_WIDGETS, true); } }