mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Add LabelField component definition
This commit is contained in:
parent
32578e07d6
commit
2c5e482de0
@ -9,6 +9,10 @@ namespace SilverStripe\Forms;
|
|||||||
*/
|
*/
|
||||||
class LabelField extends DatalessField
|
class LabelField extends DatalessField
|
||||||
{
|
{
|
||||||
|
protected $schemaDataType = FormField::SCHEMA_DATA_TYPE_STRUCTURAL;
|
||||||
|
|
||||||
|
protected $schemaComponent = 'LabelField';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $name
|
* @param string $name
|
||||||
* @param null|string $title
|
* @param null|string $title
|
||||||
|
Loading…
Reference in New Issue
Block a user