Issue #3190504 by Matroskeen, quietone: Fix documentation for node source plugins
parent
9140cae210
commit
211f695a88
|
@ -26,7 +26,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
|
|||
* node_type: page
|
||||
* @endcode
|
||||
*
|
||||
* In this example nodes type page are retrieved from the source database.
|
||||
* In this example nodes of type page are retrieved from the source database.
|
||||
*
|
||||
* @code
|
||||
* source:
|
||||
|
@ -37,12 +37,14 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
|
|||
* In this example nodes of type page and test are retrieved from the source
|
||||
* database.
|
||||
*
|
||||
* 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_node",
|
||||
* source_module = "node"
|
||||
* )
|
||||
*
|
||||
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
|
||||
*/
|
||||
class Node extends DrupalSqlBase {
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
|
|||
* node_type: page
|
||||
* @endcode
|
||||
*
|
||||
* In this example nodes type page are retrieved from the source database.
|
||||
* In this example nodes of type page are retrieved from the source database.
|
||||
*
|
||||
* @code
|
||||
* source:
|
||||
|
@ -37,12 +37,14 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
|
|||
* In this example nodes of type page and test are retrieved from the source
|
||||
* database.
|
||||
*
|
||||
* 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 = "d7_node",
|
||||
* source_module = "node"
|
||||
* )
|
||||
*
|
||||
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
|
||||
*/
|
||||
class Node extends FieldableEntity {
|
||||
/**
|
||||
|
|
|
@ -20,7 +20,7 @@ use Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity;
|
|||
* node_type: page
|
||||
* @endcode
|
||||
*
|
||||
* In this example nodes type page are retrieved from the source database.
|
||||
* In this example nodes of type page are retrieved from the source database.
|
||||
*
|
||||
* @code
|
||||
* source:
|
||||
|
@ -31,12 +31,14 @@ use Drupal\migrate_drupal\Plugin\migrate\source\d7\FieldableEntity;
|
|||
* In this example nodes of type page and test are retrieved from the source
|
||||
* database.
|
||||
*
|
||||
* 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 = "d7_node_entity_translation",
|
||||
* source_module = "entity_translation"
|
||||
* )
|
||||
*
|
||||
* @see \Drupal\migrate\Plugin\migrate\source\SqlBase
|
||||
*/
|
||||
class NodeEntityTranslation extends FieldableEntity {
|
||||
|
||||
|
|
Loading…
Reference in New Issue