You are here

function tablefield_multiple_field_remove_button_field_widgets_alter in TableField 7.3

Same name and namespace in other branches
  1. 7.2 tablefield.module \tablefield_multiple_field_remove_button_field_widgets_alter()

Implements hook_multiple_field_remove_button_field_widgets_alter().

Enable https://www.drupal.org/project/multiple_fields_remove_button.

File

./tablefield.module, line 2288
Provides a set of fields that can be used to store tabular data with a node.

Code

function tablefield_multiple_field_remove_button_field_widgets_alter(&$fieldwidgets) {

  // Remove button for the following field type widgets.
  $fieldwidgets[] = 'tablefield';
}