You are here

function tablefield_after_build in TableField 7.3

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

Form #after_build callback for tablefield_field_widget_form().

1 string reference to 'tablefield_after_build'
tablefield_field_widget_form in ./tablefield.module
Implements hook_field_widget_form().

File

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

Code

function tablefield_after_build($form, &$form_state) {
  drupal_add_css(drupal_get_path('module', 'tablefield') . '/css/tablefield.css');
  drupal_add_tabledrag('tablefield-editor', 'order', 'sibling', 'tablefield-weight');
  return $form;
}