Project

General

Profile

Actions

Feature #63926

closed

$_EXTKEY is not set in Configuration/TCA php files

Added by Philipp Kerling almost 10 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-12-16
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

Since TYPO3 6.1 it is possible and, in fact, recommended to define TCA in extensions in Configuration/TCA/...php files and overrides of existing tables in Configuration/TCA/Override/...php files instead of ext_tables.php. In ext_tables.php, the global variable $_EXTKEY (or $GLOBALS['_EXTKEY']) is always available as the extension key of the current extension. This simplifies some things such as forking existing extensions etc. since the name of the extension does not need to be spelled out every time.
Currently, the new TCA files do not provide this feature, i.e. $_EXTKEY is unset. For consistency and extension maintainability, I'd like to see it there, too.

Actions

Also available in: Atom PDF