mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 17:51:34 +02:00
21 lines
365 B
PHP
21 lines
365 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Forms\HTMLEditor;
|
|
|
|
use SilverStripe\Forms\HTMLReadonlyField;
|
|
|
|
/**
|
|
* Readonly version of an {@link HTMLEditorField}.
|
|
*/
|
|
class HTMLEditorField_Readonly extends HTMLReadonlyField
|
|
{
|
|
private static $casting = [
|
|
'Value' => 'HTMLText',
|
|
];
|
|
|
|
public function Type()
|
|
{
|
|
return 'htmleditorfield readonly';
|
|
}
|
|
}
|