Actions
Story #84915
closedEpic #83932: Initiative: Datahandler & Persistence
Epic #84914: Streamline entity configuration layer
Provide generic entity schema definition
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-05-03
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Sprint Focus:
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.
Updated by Benni Mack about 2 months ago
- Related to Feature #104002: Schema API added
Actions