calendar/Documentation/Changelog/1.1.0.rst
Daniel Siepmann f1d9466045
Add features to build an archive (#8)
* Add context to factory
* Allow configuring default arguments if missing in request
* Add plugin name to AssignTemplateVariables event
2023-01-04 08:42:36 +01:00

1,019 B

1.1.0

Breaking

Nothing

Features

  • Add context to foreign data factory. The factory can optionally implement the WerkraumMedia\Calendar\Domain\Model\ContextSpecificFactory interface. That way it will receive a bit of context to react on the current situation.

  • Add Extbase Settings to configure default arguments for each action:

    plugin.tx_calendar_example {
        settings {
            arguments {
                year = 1988
                month = 11
                week = 12
                day = 1988-11-03
            }
        }
    }

    StdWrap is applied, so more complex setups are possible, e.g.:

    arguments {
        year {
            strtotime = midnight first day of -1 year
            strftime = %Y
        }
    }
  • The current plugin name is available to the AssignTemplateVariables event.

Fixes

Nothing

Tasks

Nothing

Deprecation

Nothing