These methods are more or less the heart of all the options of a view so they should get respect with a proper unit test :)
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | durpal-1849814-5.patch | 8.24 KB | dawehner |
| #3 | 1849814-2.patch | 8.23 KB | damiankloip |
| #2 | interdiff.txt | 2.3 KB | damiankloip |
| #1 | drupal-1849814-1.patch | 8.21 KB | dawehner |
Comments
Comment #1
dawehnerI think it's okay to bypass the actual plugin system by just creating an instance of the object.
Comment #2
damiankloip commentedAwesome, The only thing is maybe have a helper? like this.
Comment #3
damiankloip commentedHuh? where did that patch go!
Comment #4
dawehnerI li
Good idea!
Comment #5
tim.plunkettMissing trailing comma
Extra blank line
Missing a blank line before the end of the class
Comment #6
dawehnerThank you for the review, fixed those.
Comment #7
tim.plunkettUnit tests++
Looks good!
Comment #8
catchCommitted/pushed to 8.x, thanks!