Commit 4c0a0dd5 authored by mxh's avatar mxh
Browse files

Issue #3320840 by boinksteri, mxh: Error with VBO 4.2.1

parent 9ba45052
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,6 +9,6 @@
  },
  "require": {
    "drupal/eca": "^1.0",
    "drupal/views_bulk_operations": "^4.1"
    "drupal/views_bulk_operations": "^4.2"
  }
}
+2 −2
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ class VboExecute extends ViewsBulkOperationsActionBase implements DependentPlugi
  /**
   * {@inheritdoc}
   */
  public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
  public function validateConfigurationForm(array &$form, FormStateInterface $form_state): void {
    if (empty($this->context)) {
      $this->context = $form_state->get('views_bulk_operations');
    }
@@ -173,7 +173,7 @@ class VboExecute extends ViewsBulkOperationsActionBase implements DependentPlugi
  /**
   * {@inheritdoc}
   */
  public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
  public function submitConfigurationForm(array &$form, FormStateInterface $form_state): void {
    if (empty($this->context)) {
      $this->context = $form_state->get('views_bulk_operations');
    }