Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/contao-community-alliance/contao-polyfill-bundle
This polyfill bundle support some contao features in older versions.
https://github.com/contao-community-alliance/contao-polyfill-bundle
Last synced: about 1 month ago
JSON representation
This polyfill bundle support some contao features in older versions.
- Host: GitHub
- URL: https://github.com/contao-community-alliance/contao-polyfill-bundle
- Owner: contao-community-alliance
- License: lgpl-3.0
- Created: 2019-05-23T19:04:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-30T14:02:59.000Z (almost 4 years ago)
- Last Synced: 2024-11-18T07:49:01.972Z (about 2 months ago)
- Language: PHP
- Size: 207 KB
- Stars: 0
- Watchers: 10
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/contao-community-alliance/contao-polyfill-bundle.png)](https://travis-ci.org/contao-community-alliance/contao-polyfill-bundle)
[![Latest Version tagged](http://img.shields.io/github/tag/contao-community-alliance/contao-polyfill-bundle.svg)](https://github.com/contao-community-alliance/contao-polyfill-bundle/tags)
[![Latest Version on Packagist](http://img.shields.io/packagist/v/contao-community-alliance/contao-polyfill-bundle.svg)](https://packagist.org/packages/contao-community-alliance/contao-polyfill-bundle)
[![Installations via composer per month](http://img.shields.io/packagist/dm/contao-community-alliance/contao-polyfill-bundle.svg)](https://packagist.org/packages/contao-community-alliance/contao-polyfill-bundle)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][tagged_hooks_doc].
If you want to disable this, add the following to your config.yml.
```yaml
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][asset_doc].
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.
```yaml
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][migration_doc].
If you want to disable this, add the following to your config.yml.
```yaml
cca_polyfill49:
migration: false```
[tagged_hooks_doc]: https://github.com/contao/core-bundle/commit/e700e191a19c68d67cfd1b0ee694d60c5f29baa0 "Read on github.com/contao/core-bundle"
[asset_doc]: https://github.com/contao/core-bundle/commit/eed0aea3682b2bba28ed26d796b18605b459445e "Read on github.com/contao/core-bundle"
[migration_doc]: https://github.com/contao/core-bundle/issues/1223#issuecomment-527111644 "Read on github.com/contao/core-bundle"