You are here

protected function ViewsBulkOperationsBulkForm::isActionConfigurable in Views Bulk Operations (VBO) 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/views/field/ViewsBulkOperationsBulkForm.php \Drupal\views_bulk_operations\Plugin\views\field\ViewsBulkOperationsBulkForm::isActionConfigurable()
  2. 4.0.x src/Plugin/views/field/ViewsBulkOperationsBulkForm.php \Drupal\views_bulk_operations\Plugin\views\field\ViewsBulkOperationsBulkForm::isActionConfigurable()

Check if an action is configurable.

2 calls to ViewsBulkOperationsBulkForm::isActionConfigurable()
ViewsBulkOperationsBulkForm::viewsForm in src/Plugin/views/field/ViewsBulkOperationsBulkForm.php
Form constructor for the bulk form.
ViewsBulkOperationsBulkForm::viewsFormSubmit in src/Plugin/views/field/ViewsBulkOperationsBulkForm.php
Submit handler for the bulk form.

File

src/Plugin/views/field/ViewsBulkOperationsBulkForm.php, line 901

Class

ViewsBulkOperationsBulkForm
Defines the Views Bulk Operations field plugin.

Namespace

Drupal\views_bulk_operations\Plugin\views\field

Code

protected function isActionConfigurable($action) {
  return in_array('Drupal\\Core\\Plugin\\PluginFormInterface', class_implements($action['class']), TRUE) || method_exists($action['class'], 'buildConfigurationForm');
}