Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rectorConfig to change Table to DC_Table::class #8

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zoglo
Copy link
Contributor

@zoglo zoglo commented May 7, 2024

Description

Implements #6

Old:

'config' => [
    'dataContainer' => 'Table,
    'ctable'        => ['tl_child_table'],

New:

'config' => [
    'dataContainer' => DC_Table::class,
    'ctable'        => ['tl_child_table'],

@aschempp
Copy link
Member

aschempp commented May 8, 2024

hmmm… wouldn't this change that string everywhere? Like in templates and thelike?

@zoglo
Copy link
Contributor Author

zoglo commented May 9, 2024

It would 🤔 This may need to be changed to an own rector that checks for array and/or entry types with the key being dataContainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants