eZ\Publish\Core\FieldType\TextLine\Type::getName PHP Method

getName() public method

It will be used to generate content name and url alias if current field is designated to be used in the content name/urlAlias pattern.
public getName ( eZ\Publish\SPI\FieldType\Value $value ) : string
$value eZ\Publish\SPI\FieldType\Value
return string
    public function getName(SPIValue $value)
    {
        return (string) $value->text;
    }