Commit 158b2ff7 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

[TASK] Add TCA for new fields in member and membership

parent bbf63938
Pipeline #12466 passed with stages
in 4 minutes and 35 seconds
<?php
$columns = [
'external_identifier' => [
'label' => 'External identifier (my.typo3.org)',
'exclude' => 1,
'config' => [
'type' => 'input',
'readOnly' => true,
],
],
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
'tx_t3omembership_domain_model_member',
$columns
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
'tx_t3omembership_domain_model_member',
'external_identifier',
'',
'after:hidden'
);
<?php
$columns = [
'external_identifier' => [
'label' => 'External identifier (my.typo3.org)',
'exclude' => 1,
'config' => [
'type' => 'input',
],
],
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
'tx_t3omembership_domain_model_membership',
$columns
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
'tx_t3omembership_domain_model_membership',
'external_identifier',
'',
'after:hidden'
);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment