You are here

public function FeedType::setMappings in Feeds 8.3

Sets the mappings for the feed type.

Parameters

array $mappings: A list of mappings.

Overrides FeedTypeInterface::setMappings

File

src/Entity/FeedType.php, line 324

Class

FeedType
Defines the Feeds feed type entity.

Namespace

Drupal\feeds\Entity

Code

public function setMappings(array $mappings) {
  $this->mappings = $mappings;
  return $this;
}