Same name in other branches
- 8.x-1.x src/ExifContent.php \Drupal\exif\ExifContent::handleTextField()
Handle text field.
Paramètres
int $index: The index to set the new value.
\Drupal\Core\Field\FieldItemListInterface $field: The field to update.
string $exif_section: The exif section where value has been retrieved.
string $exif_name: The exif label where value has been retrieved.
string $exif_sanitized_value: The exif value to update.
2 calls to ExifContent::handleTextField()
- ExifContent::entity_insert_update dans src/
ExifContent.php - Main entry of the module.
- ExifContent::handleField dans src/
ExifContent.php - Handle field by delegating to specific type handler.
Fichier
-
src/
ExifContent.php, line 449
Classe
- ExifContent
- Class ExifContent make link between drupal content and file content.
Namespace
Drupal\exifCode
private function handleTextField($index, FieldItemListInterface &$field, $exif_section, $exif_name, $exif_sanitized_value) {
$field->offsetSet($index, $exif_sanitized_value);
}