Feature #93590
closedMake PopulatePageSlugs extendable
100%
Description
To be able to create upgrade wizards to populate slugs for custom tables it'd be nice to simply extend the core's \TYPO3\CMS\Install\Update\PopulatePageSlugs
and change a few properties.
The only problem is that PopulatePageSlugs adds tx_realurl_pathsegment
to the list of generaterOption fields.
My idea is to put the following part into a overwritable function:
$fieldConfig = $GLOBALS['TCA'][$this->table]['columns'][$this->fieldName]['config']; $fieldConfig['generatorOptions']['fields'] = ['tx_realurl_pathsegment,title'];
Updated by Gerrit Code Review over 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68106
Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68106
Updated by Gerrit Code Review over 3 years ago
Patch set 3 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68106
Updated by Philipp Kitzberger over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 78923aac0d37a0113bc393dd9007018db1fdb764.