| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 11 | public function getHTMLFragments($gridField) | ||
| 12 |     { | ||
| 13 | $data = ArrayData::create([ | ||
| 14 | "TargetFragmentName" => $this->targetFragment, | ||
| 15 |             "Fragments" => "\$DefineFragment(snippets-{$this->targetFragment})", | ||
| 16 | ]); | ||
| 17 | |||
| 18 | $templates = SSViewer::get_templates_by_class($this, '', __CLASS__); | ||
| 19 | return [ | ||
| 20 | $this->targetFragment => $data->renderWith($templates) | ||
| 21 | ]; | ||
| 23 | } |