Skip to content

TextLineField

TextLineField is the representative implementation of AbstractField for a single line of text.

A new TextLineField can be created using the following data:

1
2
3
4
use Silversolutions\Bundle\EshopBundle\Content\Fields\TextLineField;

// Usage: 
$textLineField = new TextLineField(array('text' => 'This is the name of the product'));
Read the Docs