Mercurial > hg > cmmr2012-drupal-site
diff modules/contrib/migrate_plus/src/AuthenticationPluginBase.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/modules/contrib/migrate_plus/src/AuthenticationPluginBase.php Thu Feb 28 13:11:55 2019 +0000 @@ -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); + } + +}