Issue #3190504 by Matroskeen, quietone: Fix documentation for node source plugins

merge-requests/272/head
catch 2021-01-26 10:10:03 +00:00
parent 9140cae210
commit 211f695a88
3 changed files with 15 additions and 9 deletions

View File

@ -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 {

View File

@ -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 {
/**

View File

@ -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 {