Projet

Général

Profil

Révision b8087750

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views_bulk_operations/plugins/operation_types/action.class.php
128 128
    actions_list();
129 129

  
130 130
    $submit_callback = $this->operationInfo['callback'] . '_submit';
131
    $this->formOptions = $submit_callback($form, $form_state);
131
    // If the return value from the callback is an options array, store it for
132
    // later union onto the context.
133
    $options = $submit_callback($form, $form_state);
134
    if ($options && is_array($options)) {
135
      $this->formOptions = $options;
136
    }
132 137
  }
133 138

  
134 139
  /**

Formats disponibles : Unified diff