Project

General

Profile

Actions

Story #84915

closed

Epic #83932: Initiative: Datahandler & Persistence

Epic #84914: Streamline entity configuration layer

Provide generic entity schema definition

Added by Oliver Hader over 6 years ago. Updated 4 months ago.

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #104002: Schema APIClosed2024-06-07

Actions
Actions #1

Updated by Georg Ringer 4 months ago

  • Status changed from New to Closed

closing in favor of #104002

Actions #2

Updated by Benni Mack about 2 months ago

Actions

Also available in: Atom PDF