silverstripe-framework/tests/php/Forms/GridField/GridFieldTest/HTMLFragments.php
2016-12-19 16:08:19 +13:00

22 lines
442 B
PHP

<?php
namespace SilverStripe\Forms\Tests\GridField\GridFieldTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\Forms\GridField\GridField_HTMLProvider;
class HTMLFragments implements GridField_HTMLProvider, TestOnly
{
protected $fragments;
public function __construct($fragments)
{
$this->fragments = $fragments;
}
public function getHTMLFragments($gridField)
{
return $this->fragments;
}
}