public function ItemInterface::get in Feeds 8.3
Returns the value for a target field.
Parameters
string $field: The name of the field.
Return value
mixed|null The value that corresponds to this field, or null if it does not exist.
2 methods override ItemInterface::get()
- BaseItem::get in src/
Feeds/ Item/ BaseItem.php - Returns the value for a target field.
- DynamicItem::get in src/
Feeds/ Item/ DynamicItem.php - Returns the value for a target field.
File
- src/
Feeds/ Item/ ItemInterface.php, line 19
Class
- ItemInterface
- The interface for a single feed item.
Namespace
Drupal\feeds\Feeds\ItemCode
public function get($field);