"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/modules/migrate_drupal/src/Plugin/MigrateCckFieldInterface.php" (26 Nov 2020, 1046 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 "MigrateCckFieldInterface.php" see the Fossies "Dox" file reference documentation.

    1 <?php
    2 
    3 namespace Drupal\migrate_drupal\Plugin;
    4 
    5 @trigger_error('MigrateCckFieldInterface is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead.', E_USER_DEPRECATED);
    6 
    7 use Drupal\migrate\Plugin\MigrationInterface;
    8 
    9 /**
   10  * Provides an interface for all CCK field type plugins.
   11  *
   12  * @deprecated in drupal:8.3.0 and is removed from drupal:9.0.0. Use
   13  *   \Drupal\migrate_drupal\Annotation\MigrateField instead.
   14  *
   15  * @see https://www.drupal.org/node/2751897
   16  */
   17 interface MigrateCckFieldInterface extends MigrateFieldInterface {
   18 
   19   /**
   20    * Apply any custom processing to the cck bundle migrations.
   21    *
   22    * @param \Drupal\migrate\Plugin\MigrationInterface $migration
   23    *   The migration entity.
   24    * @param string $field_name
   25    *   The field name we're processing the value for.
   26    * @param array $data
   27    *   The array of field data from CckFieldValues::fieldData().
   28    */
   29   public function processCckFieldValues(MigrationInterface $migration, $field_name, $data);
   30 
   31 }