silverstripe-framework/src/Forms/GridField/GridState_Component.php

18 lines
294 B
PHP
Raw Normal View History

<?php
namespace SilverStripe\Forms\GridField;
/**
* @see GridState
*/
class GridState_Component implements GridField_HTMLProvider
{
2016-11-29 00:31:16 +01:00
public function getHTMLFragments($gridField)
{
return array(
'before' => $gridField->getState(false)->Field()
);
}
}