function editableviews_plugin_style_row_edit_table::get_edit_field_handlers in Editable Views 7
Helper to get the handlers for editable fields.
Return value
An array of field handlers, in the same format as get_handlers() returns, but containing only those handlers which are for editable fields.
1 call to editableviews_plugin_style_row_edit_table::get_edit_field_handlers()
- editableviews_plugin_style_row_edit_table::insert_form_elements in ./
editableviews_plugin_style_row_edit_table.inc - Insert the field form elements into the rendered View fields.
File
Class
- editableviews_plugin_style_row_edit_table
- Plugin class for the Editable Table style.
Code
function get_edit_field_handlers() {
$handlers = $this->display->handler
->get_handlers('field');
$edit_field_handlers = array();
foreach ($handlers as $key => $handler) {
if (!empty($handler->editable)) {
$edit_field_handlers[$key] = $handler;
}
}
return $edit_field_handlers;
}