We should deprecate the use of views_get_view, as that requires views.module to be loaded etc.. and that just isn't the direction we are heading in. We should mark that as deprecated and use a helper method on our Drupal\views\Views class instead. This can load directly from the storage controller and return an instance, similar to now.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2032031-5.patch | 3.57 KB | damiankloip |
| #3 | 2032031-3.patch | 3.47 KB | damiankloip |
| #3 | interdiff-2032031-3.txt | 2.13 KB | damiankloip |
| #2 | 2032031-2.patch | 1.31 KB | damiankloip |
| #2 | interdiff-2032031-2.txt | 783 bytes | damiankloip |
Comments
Comment #1
dawehnerMissing "\"
Use the view.executable service to get an executable.
Comment #2
damiankloip commentedYou're totally right, thanks.
Comment #3
damiankloip commentedDid some unit tests too.
Comment #4
tim.plunkettWonderful.
Comment #5
damiankloip commentedreroll.
Comment #6
alexpottCommitted d8e21f8 and pushed to 8.x. Thanks!
Comment #8
xjmChange record needed. :)