GridFieldBulkEditingTools/code/GridFieldBulkEditingTools.php

19 lines
489 B
PHP
Raw Normal View History

<?php
/**
2012-08-07 23:02:13 +02:00
* Base Component for all 'GridFieldBulkEditingTools'
* defines the common HTML fragment
*
* @author colymba
* @package GridFieldBulkEditingTools
*/
class GridFieldBulkEditingTools implements GridField_HTMLProvider
{
public function getHTMLFragments($gridField)
{
Requirements::css(BULK_EDIT_TOOLS_PATH . '/css/GridFieldBulkEditingTools.css');
return array(
"after" => "<div id=\"bulkEditTools\">\$DefineFragment(bulk-edit-tools)</div>"
);
}
}