mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
22 lines
442 B
PHP
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;
|
|
}
|
|
}
|