Skip to main content

You need both an action pluginaction plugin and an action config entity using that plugin for views to expose the bulk action field on entity types. Create thataction config entity

  1. Create the plugin with drush: drush generate plugin-action
  2. Create the action config entity: look at "system.action.comment_delete_action.yml" for an example.

After creating these, then clear the cache and it should be available in views under the label "Bulk update".

You need both an action plugin and an action config entity using that plugin for views to expose the bulk action field on entity types. Create that, then clear the cache and it should be available.

You need both an action plugin and an action config entity

  1. Create the plugin with drush: drush generate plugin-action
  2. Create the action config entity: look at "system.action.comment_delete_action.yml" for an example.

After creating these, clear the cache and it should be available in views under the label "Bulk update".

Source Link
Berdir
  • 83.5k
  • 6
  • 161
  • 207

You need both an action plugin and an action config entity using that plugin for views to expose the bulk action field on entity types. Create that, then clear the cache and it should be available.