contao-community-alliance/contao-polyfill-bundle

This polyfill bundle support some contao features in older versions.

1.1.6 2021-03-26 07:56 UTC

This package is auto-updated.

Last update: 2024-11-29 06:03:29 UTC


README

Build Status Latest Version tagged Latest Version on Packagist Installations via composer per month

Contao Polyfill Bundle

This bundle allows you to use Contao features in earlier versions.

For every single feature there is the possibility to deactivate it. See the corresponding description.

The following functions are backported in the package:

Tagged Hooks

This feature is automatically loaded in Contao versions less than 4.5.

What this feature entails, you can read here.

If you want to disable this, add the following to your config.yml.

cca_polyfill45:
    tagged_hooks: false

Asset

This feature is automatically loaded in Contao versions less than 4.5.

What this feature entails, you can read here.

The function to include asset $this->asset() via the template is not supported. You can use the insert tag {{asset::path}} as a replacement.

If you want to disable this, add the following to your config.yml.

cca_polyfill45:
    asset: false

Migration

This feature is automatically loaded in Contao versions less than 4.9.

What this feature entails, you can read here.

If you want to disable this, add the following to your config.yml.

cca_polyfill49:
    migration: false