Project

General

Profile

Actions

Story #84915

open

Epic #83932: Initiative: Datahandler & Persistence

Epic #84914: Streamline entity configuration layer

Provide generic entity schema definition

Added by Oliver Hader almost 6 years ago.

Status:
New
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.

No data to display

Actions

Also available in: Atom PDF