You are here

public function FeedType::removeCustomSource in Feeds 8.3

Removes a custom a source.

Parameters

string $name: The name of the custom source to delete.

Return value

$this An instance of this class.

Overrides FeedTypeInterface::removeCustomSource

File

src/Entity/FeedType.php, line 401

Class

FeedType
Defines the Feeds feed type entity.

Namespace

Drupal\feeds\Entity

Code

public function removeCustomSource($name) {
  unset($this->custom_sources[$name]);
  return $this;
}