Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download views_bulk_operations-8.x-2.0-beta1.tar.gztar.gz 42.24 KB
MD5: aca8fefe3283d08709ed331767e4b1e9
SHA-1: ce9402b927ad5e3f7af54394cf9ba6d4a21922e4
SHA-256: 64269184b382320bcc77ae0b321bfafce094abfae89b416a121e00e6fd1325a7
Download views_bulk_operations-8.x-2.0-beta1.zipzip 75.1 KB
MD5: 2dfd247c4e7f95242caa7d273be7e782
SHA-1: fe03e0bcbee96ce97dc624bcb3064e6226c3319d
SHA-256: 996aa193f56e1104e73cf940b5c5a30d1797de9db3ee874aa5ce0ddcb9411892

Release notes

The main new feature is the persistent selection of results that is maintained across all view pages and also when exposed filters and sorting is changed. The selection is dropped only when view arguments are changed.

Apart from that, new method for getting entities has been introduced: now they are loaded directly from view results by using the view base field values as a main filter condition.

API changes are minimal and most modules developed for 1.x branch (including views_bulk_edit and vbo_export) will not be affected.

API changes:

  • Action $context['list'] item contains the following data:
    {view base field value}, {entity language}, {entity type id}, {entity id}, [{entity label}]
    with the last key set only for confirm and config forms and in certain cases not available. In action execute method use $entity->label() instead if required.
  • pass_context and pass_view annotations are no longer required, the current view and batch context is always passed to an action that has setContext and setView methods (included in ViewsBulkOperationsActionBase class), since the entities are loaded by executing the view anyway and it doesn't cause any performance drop (see #2933329: Always pass view and batch context to an action if supported).
Created by: Graber
Created on: 28 Dec 2017 at 15:10 UTC
Last updated: 5 Feb 2020 at 17:45 UTC
New features
Insecure

Other releases