Commit graph

4 commits

Author SHA1 Message Date
Markus Klein
1f75390dcd [BUGFIX] Fix broken TcaEnhancer unit tests 2021-02-02 11:22:59 +01:00
Markus Klein
e1d91f64ec [BUGFIX] Fix namespace for campaign classes 2021-01-29 11:45:10 +01:00
1e3646e105
Follow new strict_types enforecement 2021-01-23 15:53:56 +01:00
01d25e4c49
Allow creation of content elements
Content elements could not be created, since they needed campaigns.
In order to retrieve campaigns, the API needs to be created.
The API needs settings from current site, which is not available in that
context.

Therefore the factory is extended to also fetch site and their settings
based on page uid. The page uid is available in the context.

Since we now interact with guzzle, we add the dependency.
Wouldn't be necessary if SDK would have PSR compatible type hints.

Also tests were added for code, to keep code coverage.

Fixes: #5
2021-01-23 15:53:07 +01:00