wip content index
This commit is contained in:
@@ -37,4 +37,11 @@ class ViewModel
|
||||
$m = new Mustache_Engine(array('entity_flags' => ENT_QUOTES));
|
||||
return $m->render($schema->cardTitle, $record->data);
|
||||
}
|
||||
|
||||
public function renderRow(QueryRecord $record, FieldInterface $field): string
|
||||
{
|
||||
$renderers = config("lucent.renderers.row");
|
||||
return (new $renderers[$field->info->name])($record, $field);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user