Version 1
[yaffs-website] / web / modules / contrib / migrate_plus / src / AuthenticationPluginBase.php
diff --git a/web/modules/contrib/migrate_plus/src/AuthenticationPluginBase.php b/web/modules/contrib/migrate_plus/src/AuthenticationPluginBase.php
new file mode 100644 (file)
index 0000000..8833512
--- /dev/null
@@ -0,0 +1,25 @@
+<?php
+
+namespace Drupal\migrate_plus;
+
+use Drupal\Core\Plugin\PluginBase;
+use Symfony\Component\DependencyInjection\ContainerInterface;
+
+/**
+ * Defines a base authentication implementation.
+ *
+ * @see \Drupal\migrate_plus\Annotation\Authentication
+ * @see \Drupal\migrate_plus\AuthenticationPluginInterface
+ * @see \Drupal\migrate_plus\AuthenticationPluginManager
+ * @see plugin_api
+ */
+abstract class AuthenticationPluginBase extends PluginBase implements AuthenticationPluginInterface {
+
+  /**
+   * {@inheritdoc}
+   */
+  public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
+    return new static($configuration, $plugin_id, $plugin_definition);
+  }
+
+}