Mercurial > hg > isophonics-drupal-site
annotate core/modules/migrate_drupal/src/Plugin/MigrateCckFieldInterface.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 4c8ae668cc8c |
children |
rev | line source |
---|---|
Chris@0 | 1 <?php |
Chris@0 | 2 |
Chris@0 | 3 namespace Drupal\migrate_drupal\Plugin; |
Chris@0 | 4 |
Chris@0 | 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); |
Chris@0 | 6 |
Chris@0 | 7 use Drupal\migrate\Plugin\MigrationInterface; |
Chris@0 | 8 |
Chris@0 | 9 /** |
Chris@0 | 10 * Provides an interface for all CCK field type plugins. |
Chris@0 | 11 * |
Chris@0 | 12 * @deprecated in Drupal 8.3.x, to be removed before Drupal 9.0.x. Use |
Chris@0 | 13 * \Drupal\migrate_drupal\Annotation\MigrateField instead. |
Chris@0 | 14 * |
Chris@0 | 15 * @see https://www.drupal.org/node/2751897 |
Chris@0 | 16 */ |
Chris@0 | 17 interface MigrateCckFieldInterface extends MigrateFieldInterface { |
Chris@0 | 18 |
Chris@0 | 19 /** |
Chris@0 | 20 * Apply any custom processing to the cck bundle migrations. |
Chris@0 | 21 * |
Chris@0 | 22 * @param \Drupal\migrate\Plugin\MigrationInterface $migration |
Chris@0 | 23 * The migration entity. |
Chris@0 | 24 * @param string $field_name |
Chris@0 | 25 * The field name we're processing the value for. |
Chris@0 | 26 * @param array $data |
Chris@0 | 27 * The array of field data from CckFieldValues::fieldData(). |
Chris@0 | 28 */ |
Chris@0 | 29 public function processCckFieldValues(MigrationInterface $migration, $field_name, $data); |
Chris@0 | 30 |
Chris@0 | 31 } |