You are here

public function ItemInterface::fromArray in Feeds 8.3

Loads data in from an array.

Parameters

array $data: The data to load in.

Return value

$this An instance of this class.

2 methods override ItemInterface::fromArray()
BaseItem::fromArray in src/Feeds/Item/BaseItem.php
Loads data in from an array.
DynamicItem::fromArray in src/Feeds/Item/DynamicItem.php
Loads data in from an array.

File

src/Feeds/Item/ItemInterface.php, line 51

Class

ItemInterface
The interface for a single feed item.

Namespace

Drupal\feeds\Feeds\Item

Code

public function fromArray(array $data);