function CurrencyCtoolsExportUI::list_build_row in Currency 7.2
Overrides parent::list_build_row().
Overrides ctools_export_ui::list_build_row
File
- currency/
includes/ CurrencyCtoolsExportUI.inc, line 16 - Contains class CurrencyCtoolsExportUI.
Class
- CurrencyCtoolsExportUI
- A Ctools export UI plugin for Currency.
Code
function list_build_row($item, &$form_state, $operations) {
parent::list_build_row($item, $form_state, $operations);
$name = $item->{$this->plugin['export']['key']};
$cells = $this->rows[$name]['data'];
$cells = array_merge(array_slice($cells, 0, 1), array(
$item
->translateTitle(),
), array_slice($cells, 1));
$this->rows[$name]['data'] = $cells;
}