You are here

function tablefield_multiple_field_remove_button_field_widgets_alter in TableField 7.2

Same name and namespace in other branches
  1. 7.3 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 1602
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 = array(
    'tablefield',
  );
}