return $this->
update( $resourcePath,
AppEntity::
class,
$appId );
} private function update(string
$pathToCustomEntityFile, string
$extensionEntityType, string
$extensionId): ?CustomEntityXmlSchema
{ $customEntityXmlSchema =
$this->
getXmlSchema($pathToCustomEntityFile);
if ($customEntityXmlSchema === null
) { return null;
} $customEntityXmlSchema =
$this->customEntityEnrichmentService->
enrich( $customEntityXmlSchema,
$this->
getAdminUiXmlSchema($pathToCustomEntityFile),
);
$this->customEntityPersister->
update($customEntityXmlSchema->
toStorage(),
$extensionEntityType,
$extensionId);
$this->customEntitySchemaUpdater->
update();