#84915Provide generic entity schema definition
Description
Expected goal
$factory = new TcaSchemaDefinitionFactory($GLOBALS['TCA']);
$schemaDefinition = $factory->buildForTable('tt_content');
$service = new SchemaDefinitionService();
$mediaProperty = $schemaDefinition->getProperty('media');
$service->isRelational(mediaProperty);
if ($service->getRelationType($mediaProperty) === Relation::TYPE_ONE_TO_MANY_COMPOSITION)) { ... }
The API above can still change. Besides that Extbase DataMapFactory could be considered as foundation as well.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.