Project

General

Profile

Actions

Feature #93590

closed

Make PopulatePageSlugs extendable

Added by Philipp Kitzberger over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-02-25
Due date:
% Done:

100%

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

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'];

Actions #1

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

Actions #2

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

Actions #3

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

Actions #4

Updated by Philipp Kitzberger over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF