Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've created an EVA display, where the argument mode was set to "None" to have a correct views result.
After deploying this view to our staging environment, via Features Export and Revert, it seems the argument mode is not exported,
also not when exporting via Views UI.
Results: the argument mode is by default initialized to 'id'
Is it possible to extend EVA with this lacking export functionality ?
In the meanwhile, i've have written a custom hook_update to correct the missed argument mode programmatically during install :
function my_module_update_7004(&$sandbox) {
$view = views_get_view('my_view', TRUE);
$view->display['my_display']->display_options['argument_mode'] = NULL;
views_save_view($view);
}
Would be nice to have all EVA related views settings exportable.
Comment | File | Size | Author |
---|---|---|---|
#5 | Screen Shot 2017-03-16 at 08.11.21.png | 37.69 KB | RAWDESK |
Screen Shot 2017-03-15 at 15.41.55.png | 25.51 KB | RAWDESK |
Comments
Comment #2
RAWDESK CreditAttribution: RAWDESK for Colruyt Group Services commentedComment #3
RAWDESK CreditAttribution: RAWDESK for Colruyt Group Services commentedComment #4
RAWDESK CreditAttribution: RAWDESK for Colruyt Group Services commentedComment #5
RAWDESK CreditAttribution: RAWDESK for Colruyt Group Services commented#UPDATE:
The root cause for overwriting the argument mode "id" to "none" is the fact i am pulling taxonomy id's as contextual filters :
So no node id's, the case where argument mode "id" does seem to work.