Projet

Général

Profil

Révision 7547bb19

Ajouté par Assos Assos il y a environ 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views_bulk_operations/views/views_bulk_operations.views.inc
6 6
function views_bulk_operations_views_data_alter(&$data) {
7 7
  foreach (entity_get_info() as $entity_type => $info) {
8 8
    if (isset($info['base table']) && isset($data[$info['base table']]['table'])) {
9
      $data[$info['base table']]['views_bulk_operations'] = array(
9
      $data[$info['base table']]['views_bulk_operations']['moved to'] = array('views_entity_' . $entity_type, 'views_bulk_operations');
10
      $data['views_entity_' . $entity_type]['views_bulk_operations'] = array(
10 11
        'title' => $data[$info['base table']]['table']['group'],
11 12
        'group' => t('Bulk operations'),
12 13
        'help' => t('Provide a checkbox to select the row for bulk operations.'),

Formats disponibles : Unified diff