You are here

function multifield_views_data_alter in Multifield 7.2

Same name and namespace in other branches
  1. 7 multifield.module \multifield_views_data_alter()

Implements hook_views_data_alter().

File

./multifield.module, line 607

Code

function multifield_views_data_alter(array &$data) {

  // Remove any references to the fake multifield table.
  unset($data['multifield']);
  unset($data['entity_multifield']);
  unset($data['views_entity_multifield']);
  foreach ($data as &$table) {
    unset($table['table']['join']['multifield']);
    unset($table['table']['default_relationship']['multifield']);
  }
}