Add LabelField component definition

This commit is contained in:
Christopher Joe 2017-03-20 14:02:43 +13:00 committed by Damian Mooyman
parent 32578e07d6
commit 2c5e482de0

View File

@ -9,6 +9,10 @@ namespace SilverStripe\Forms;
*/
class LabelField extends DatalessField
{
protected $schemaDataType = FormField::SCHEMA_DATA_TYPE_STRUCTURAL;
protected $schemaComponent = 'LabelField';
/**
* @param string $name
* @param null|string $title