function tablefield_after_build in TableField 7.2
Same name and namespace in other branches
- 7.3 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_widget_form().
File
- ./
tablefield.module, line 1169 - 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') . '/tablefield.css');
drupal_add_tabledrag('tablefield-editor', 'order', 'sibling', 'tablefield-weight');
return $form;
}