function _feed_import_get_static_field in Feed Import 7.3
Returns a row for static fields table.
Parameters
string $val: Default field value
string $name: Field name
Return value
array A row for table
1 call to _feed_import_get_static_field()
- feed_import_static_fields_form in ./
feed_import.module - Static fields form
File
- ./
feed_import.module, line 1473 - User interface, cron functions for feed_import module
Code
function _feed_import_get_static_field($val = NULL, $name = NULL) {
return array(
'field_name' => check_plain($name),
'field_value' => array(
'data' => array(
'#type' => 'textfield',
'#maxlength' => 2048,
'#value' => $val,
'#name' => 'field|' . $name,
),
),
);
}