contao-community-alliance/contao-polyfill-bundle

This polyfill bundle support some contao features in older versions.

1.0.0 2019-10-07 13:36 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