Issue #3458295 by pooja_sharma, shalini_jha, prem suthar, joachim, smustgrave: getProcessPlugins() should explain why it has a process parameter and why it's optional

(cherry picked from commit b21bcf4ed0)
merge-requests/9437/head
quietone 2024-09-03 15:41:13 +12:00
parent b8047deca9
commit 44b62751d1
No known key found for this signature in database
GPG Key ID: 43BFBBB26EA09FE1
1 changed files with 5 additions and 2 deletions

View File

@ -121,8 +121,11 @@ interface MigrationInterface extends PluginInspectionInterface, DerivativeInspec
/** /**
* Returns the process plugins. * Returns the process plugins.
* *
* @param array $process * @param array|null $process
* A process configuration array. * (Optional) A process configuration array. Defaults to NULL. If specified,
* then the plugins from the given process array are returned. If not
* specified, then the plugins from this migration's process array are
* returned.
* *
* @return \Drupal\migrate\Plugin\MigrateProcessInterface[][] * @return \Drupal\migrate\Plugin\MigrateProcessInterface[][]
* An associative array. The keys are the destination property names. Values * An associative array. The keys are the destination property names. Values