[HOTFIX] Get view data of content type

https://github.com/sulu-cmf/sulu/pull/316

__Tasks:__

- [x] test coverage
- [ ] gather feedback for my changes

__Informations:__

| Q             | A
| ------------- | ---
| Tests pass?   | yes
| Fixed tickets | https://github.com/sulu-cmf/sulu-standard/issues/326
| BC Breaks     | no
| Doc           | none