"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/lib/Drupal/Core/Field/Plugin/migrate/field/Email.php" (26 Nov 2020, 813 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "Email.php" see the Fossies "Dox" file reference documentation.

    1 <?php
    2 
    3 namespace Drupal\Core\Field\Plugin\migrate\field;
    4 
    5 use Drupal\field\Plugin\migrate\field\Email as EmailNew;
    6 
    7 /**
    8  * MigrateField Plugin for Drupal 6 and 7 email fields.
    9  *
   10  * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use
   11  *   \Drupal\field\Plugin\migrate\field\Email instead.
   12  *
   13  * @see https://www.drupal.org/node/3009286
   14  */
   15 class Email extends EmailNew {
   16 
   17   /**
   18    * {@inheritdoc}
   19    */
   20   public function __construct(array $configuration, $plugin_id, $plugin_definition) {
   21     @trigger_error(__NAMESPACE__ . '\Email is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\field\Plugin\migrate\field\Email instead. See https://www.drupal.org/node/3009286', E_USER_DEPRECATED);
   22     parent::__construct($configuration, $plugin_id, $plugin_definition);
   23   }
   24 
   25 }