You are here

public function FeedType::getPlugins in Feeds 8.3

Returns the configured plugins for this feed type.

Return value

\Drupal\feeds\Plugin\Type\PluginBase[] An array of plugins keyed by plugin type.

Overrides FeedTypeInterface::getPlugins

2 calls to FeedType::getPlugins()
FeedType::isLocked in src/Entity/FeedType.php
Returns whether the feed type is considered locked.
FeedType::preSave in src/Entity/FeedType.php
Acts on an entity before the presave hook is invoked.

File

src/Entity/FeedType.php, line 409

Class

FeedType
Defines the Feeds feed type entity.

Namespace

Drupal\feeds\Entity

Code

public function getPlugins() {
  $plugins = [];
  foreach ($this->pluginTypes as $type) {
    $plugins[$type] = $this
      ->getPlugin($type);
  }
  return $plugins;
}