You are here

function views_field_field_info_alter in Views Field 7

Implements hook_field_info_alter().

File

./views_field.module, line 32
Provides primary Drupal hook implementations.

Code

function views_field_field_info_alter(&$info) {

  // Add a setting to all field types.
  foreach ($info as $field_type => $field_type_info) {
    $info[$field_type]['settings'] += array(
      'views_base_table' => FALSE,
      'views_base_columns' => array(),
    );
  }
}