Mercurial > hg > cmmr2012-drupal-site
annotate modules/contrib/migrate_plus/src/DataFetcherPluginBase.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
rev | line source |
---|---|
Chris@0 | 1 <?php |
Chris@0 | 2 |
Chris@0 | 3 namespace Drupal\migrate_plus; |
Chris@0 | 4 |
Chris@0 | 5 use Drupal\Core\Plugin\PluginBase; |
Chris@0 | 6 use Symfony\Component\DependencyInjection\ContainerInterface; |
Chris@0 | 7 |
Chris@0 | 8 /** |
Chris@0 | 9 * Defines a base data fetcher implementation. |
Chris@0 | 10 * |
Chris@0 | 11 * @see \Drupal\migrate_plus\Annotation\DataFetcher |
Chris@0 | 12 * @see \Drupal\migrate_plus\DataFetcherPluginInterface |
Chris@0 | 13 * @see \Drupal\migrate_plus\DataFetcherPluginManager |
Chris@0 | 14 * @see plugin_api |
Chris@0 | 15 */ |
Chris@0 | 16 abstract class DataFetcherPluginBase extends PluginBase implements DataFetcherPluginInterface { |
Chris@0 | 17 |
Chris@0 | 18 /** |
Chris@0 | 19 * {@inheritdoc} |
Chris@0 | 20 */ |
Chris@0 | 21 public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) { |
Chris@0 | 22 return new static($configuration, $plugin_id, $plugin_definition); |
Chris@0 | 23 } |
Chris@0 | 24 |
Chris@0 | 25 } |