public function FieldTypeExportInterface::massageExportPropertyValue in Entity Export CSV 8
Massage the field item property value to CSV value.
Parameters
\Drupal\Core\Field\FieldItemInterface $field_item: The field item.
string $property_name: The property name.
\Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition.
array $options: An array of optional options.
Return value
mixed The CSV value.
1 method overrides FieldTypeExportInterface::massageExportPropertyValue()
- FieldTypeExportBase::massageExportPropertyValue in src/
Plugin/ FieldTypeExportBase.php - Massage the field item property value to CSV value.
File
- src/
Plugin/ FieldTypeExportInterface.php, line 103
Class
- FieldTypeExportInterface
- Defines an interface for Field type export plugins.
Namespace
Drupal\entity_export_csv\PluginCode
public function massageExportPropertyValue(FieldItemInterface $field_item, $property_name, FieldDefinitionInterface $field_definition, array $options = []);