You are here

interface ViewsBulkOperationsPreconfigurationInterface in Views Bulk Operations (VBO) 8

Same name and namespace in other branches
  1. 8.3 src/Action/ViewsBulkOperationsPreconfigurationInterface.php \Drupal\views_bulk_operations\Action\ViewsBulkOperationsPreconfigurationInterface
  2. 8.2 src/Action/ViewsBulkOperationsPreconfigurationInterface.php \Drupal\views_bulk_operations\Action\ViewsBulkOperationsPreconfigurationInterface
  3. 4.0.x src/Action/ViewsBulkOperationsPreconfigurationInterface.php \Drupal\views_bulk_operations\Action\ViewsBulkOperationsPreconfigurationInterface

Defines methods for a preconfigurable Views Bulk Operations action.

Hierarchy

Expanded class hierarchy of ViewsBulkOperationsPreconfigurationInterface

All classes that implement ViewsBulkOperationsPreconfigurationInterface

2 files declare their use of ViewsBulkOperationsPreconfigurationInterface
ViewsBulkOperationExampleAction.php in modules/views_bulk_operations_example/src/Plugin/Action/ViewsBulkOperationExampleAction.php
ViewsBulkOperationsAdvancedTestAction.php in tests/views_bulk_operations_test/src/Plugin/Action/ViewsBulkOperationsAdvancedTestAction.php

File

src/Action/ViewsBulkOperationsPreconfigurationInterface.php, line 10

Namespace

Drupal\views_bulk_operations\Action
View source
interface ViewsBulkOperationsPreconfigurationInterface {

  /**
   * Build preconfigure action form elements.
   *
   * @param array $element
   *   Element of the views API form where configuration resides.
   * @param array $values
   *   Current values of the plugin pre-configuration.
   * @param \Drupal\Core\Form\FormStateInterface $form_state
   *   Form state interface object.
   *
   * @return array
   *   The action configuration form element.
   */
  public function buildPreConfigurationForm(array $element, array $values, FormStateInterface $form_state);

}

Members