public function ItemInterface::set in Feeds 8.3
Sets a value for a field.
Parameters
string $field: The name of the field.
mixed $value: The value for the field.
Return value
$this An instance of this class.
2 methods override ItemInterface::set()
- BaseItem::set in src/
Feeds/ Item/ BaseItem.php - Sets a value for a field.
- DynamicItem::set in src/
Feeds/ Item/ DynamicItem.php - Sets a value for a field.
File
- src/
Feeds/ Item/ ItemInterface.php, line 32
Class
- ItemInterface
- The interface for a single feed item.
Namespace
Drupal\feeds\Feeds\ItemCode
public function set($field, $value);