src/fields/PlainTextParser.php
<?php
namespace studioespresso\exporter\fields;
class PlainTextParser extends BaseFieldParser
{
public function getValue($element, $field)
{
return $element->getFieldValue($field['handle']);
}
public function getOptions(): array
{
return [];
}
public function getOptionType(): string|bool
{
return false;
}
protected function getOptionLabel(): string|bool
{
return false;
}
protected function getOptionDescription(): string|bool
{
return false;
}
}