Commit 38a40a2c authored by catch's avatar catch
Browse files

Issue #3200735 by Matroskeen, quietone: Add documentation for user, profile...

Issue #3200735 by Matroskeen, quietone: Add documentation for user, profile and roles source plugins
parent 75efbd32
......@@ -5,7 +5,11 @@
use Drupal\user\Plugin\migrate\source\ProfileField;
/**
* Gets i18n strings profile field source from database.
* Drupal 6 i18n strings profile field source from database.
*
* For available configuration keys, refer to the parent classes:
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
* @see \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
*
* @MigrateSource(
* id = "d6_profile_field_translation",
......
......@@ -9,6 +9,10 @@
/**
* Profile field source from database.
*
* For available configuration keys, refer to the parent classes:
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
* @see \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
*
* @MigrateSource(
* id = "profile_field",
* source_module = "profile"
......
......@@ -6,7 +6,11 @@
use Drupal\migrate\Plugin\migrate\source\DummyQueryTrait;
/**
* User picture field instance source.
* User picture field instance source from database.
*
* For available configuration keys, refer to the parent classes:
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
* @see \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
*
* @todo Support default picture?
*
......
......@@ -5,7 +5,11 @@
use Drupal\user\Plugin\migrate\source\ProfileField;
/**
* Gets field option label translations.
* Drupal 6 i18n profile field option labels source from database.
*
* For available configuration keys, refer to the parent classes:
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
* @see \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
*
* @MigrateSource(
* id = "d6_profile_field_option_translation",
......
......@@ -6,7 +6,11 @@
use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
/**
* Drupal 6 profile fields values source.
* Drupal 6 profile fields values source from database.
*
* For available configuration keys, refer to the parent classes:
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
* @see \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
*
* @MigrateSource(
* id = "d6_profile_field_values",
......
......@@ -8,6 +8,10 @@
/**
* Drupal 6 role source from database.
*
* For available configuration keys, refer to the parent classes:
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
* @see \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
*
* @MigrateSource(
* id = "d6_user_role",
* source_module = "user"
......
......@@ -8,6 +8,10 @@
/**
* Drupal 6 user source from database.
*
* For available configuration keys, refer to the parent classes:
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
* @see \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
*
* @MigrateSource(
* id = "d6_user",
* source_module = "user"
......
......@@ -7,6 +7,10 @@
/**
* Drupal 6 user picture source from database.
*
* For available configuration keys, refer to the parent classes:
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
* @see \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
*
* @todo Support default picture?
*
* @MigrateSource(
......
......@@ -8,6 +8,14 @@
/**
* Drupal 6 user picture source from database.
*
* Available configuration keys:
* - site_path: (optional) The path to the site directory relative to Drupal
* root. Defaults to 'sites/default'.
*
* For additional configuration keys, refer to the parent classes:
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
* @see \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
*
* @MigrateSource(
* id = "d6_user_picture_file",
* source_module = "user"
......
......@@ -8,6 +8,10 @@
/**
* Drupal 7 role source from database.
*
* For available configuration keys, refer to the parent classes:
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
* @see \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
*
* @MigrateSource(
* id = "d7_user_role",
* source_module = "user"
......
......@@ -8,6 +8,10 @@
/**
* Drupal 7 user source from database.
*
* For available configuration keys, refer to the parent classes:
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
* @see \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
*
* @MigrateSource(
* id = "d7_user",
* source_module = "user"
......
......@@ -8,6 +8,10 @@
/**
* Provides Drupal 7 user entity translations source plugin.
*
* For available configuration keys, refer to the parent classes:
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
* @see \Drupal\migrate\Plugin\migrate\source\SourcePluginBase
*
* @MigrateSource(
* id = "d7_user_entity_translation",
* source_module = "entity_translation"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment