Problem/Motivation
API page: https://api.drupal.org/api/drupal/core%21modules%21migrate%21src%21Migra...
MigrateExecutable::import() returns a value, but the documentation for MigrateExecutableInterface::import() doesn't say what it is.
Proposed resolution
Add the documentation
Remaining tasks
Patch
Review
Commit
| Comment | File | Size | Author |
|---|
Issue fork drupal-3222844
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
guilhermevp commentedSending patch, please review.
Comment #3
joachim commentedThanks for the patch!
Though instead of giving the numbers 1 and 4, the docs should use the constants, MigrationInterface::RESULT_FAILED and MigrationInterface::RESULT_COMPLETED.
It also looks like the other MigrationInterface::RESULT_FOO constants can be returned by this line:
so they should all be documented.
It might be an idea to use a bullet list for them all for readability.
Comment #4
guilhermevp commentedComment #5
dhirendra.mishra commentedHere is the further correction.
Comment #6
joachim commentedThe other MigrationInterface::RESULT_FOO constants need to be listed as I think they are also possible return values.
Comment #8
guilhermevp commentedCreated MR, please review.
Comment #9
guilhermevp commentedError fixed, please review!
Comment #10
quietone commentedComment #11
quietone commentedComment #12
quietone commentedThis is a suitable issue for a first time contributor, tagging novice.
Comment #14
paulocsComment #15
larowlanHiding patches now there is an MR and crediting Joachim and quietone for mentoring/reviews
Comment #16
longwavePointing to the docs where the constants are defined seems better, as then we don't have to keep them in sync if we change anything.
Comment #18
catchCommitted faa874b and pushed to 9.3.x. Thanks!