You are here

public function FeedType::removeMapping in Feeds 8.3

Removes a mapping from the feed type.

Parameters

int $delta: The mapping delta to remove.

Return value

$this An instance of this class.

Overrides FeedTypeInterface::removeMapping

1 call to FeedType::removeMapping()
FeedType::onDependencyRemoval in src/Entity/FeedType.php
Informs the entity that entities it depends on will be deleted.

File

src/Entity/FeedType.php, line 340

Class

FeedType
Defines the Feeds feed type entity.

Namespace

Drupal\feeds\Entity

Code

public function removeMapping($delta) {
  unset($this->mappings[$delta]);
  unset($this->targetPlugins[$delta]);
  return $this;
}