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

Rewrite DCA image extensions config to parameter #3

Open
aschempp opened this issue Apr 30, 2024 · 0 comments
Open

Rewrite DCA image extensions config to parameter #3

aschempp opened this issue Apr 30, 2024 · 0 comments
Labels

Comments

@aschempp
Copy link
Member

Old:

'image' => array(
    'inputType' => 'fileTree',
    'eval' => array(
        'extensions' => \Config::get('validImageTypes'),
    ),
),

New:

'image' => array(
    'inputType' => 'fileTree',
    'eval' => array(
        'extensions' => '%contao.image.valid_extensions%',
    ),
),
@aschempp aschempp changed the title Rewrite DCA image size config to parameter Rewrite DCA image extensions config to parameter Apr 30, 2024
zoglo added a commit to zoglo/contao-rector that referenced this issue May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant