projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated all the contrib modules to their latest versions.
[yaffs-website]
/
web
/
modules
/
contrib
/
migrate_tools
/
src
/
Form
/
MigrationEditForm.php
diff --git
a/web/modules/contrib/migrate_tools/src/Form/MigrationEditForm.php
b/web/modules/contrib/migrate_tools/src/Form/MigrationEditForm.php
index 144c74739a93d654c679d1c3b9b56bb6a377a117..214d0ae35d2e8150a3e1ce4d9743ba16112bdf15 100644
(file)
--- a/
web/modules/contrib/migrate_tools/src/Form/MigrationEditForm.php
+++ b/
web/modules/contrib/migrate_tools/src/Form/MigrationEditForm.php
@@
-6,8
+6,6
@@
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
/**
use Drupal\Core\Url;
/**
- * Class MigrationEditForm
- *
* Provides the edit form for our Migration entity.
*
* @package Drupal\migrate_tools\Form
* Provides the edit form for our Migration entity.
*
* @package Drupal\migrate_tools\Form
@@
-37,14
+35,15
@@
class MigrationEditForm extends MigrationFormBase {
}
/**
}
/**
+ * Add group route parameter.
+ *
* @param \Drupal\Core\Url $url
* The URL associated with an operation.
* @param \Drupal\Core\Url $url
* The URL associated with an operation.
- *
- * @param $migration_group
+ * @param string $migration_group
* The migration's parent group.
*/
protected function addGroupParameter(Url $url, $migration_group) {
* The migration's parent group.
*/
protected function addGroupParameter(Url $url, $migration_group) {
- $route_parameters = $url->getRouteParameters() +
array('migration_group' => $migration_group)
;
+ $route_parameters = $url->getRouteParameters() +
['migration_group' => $migration_group]
;
$url->setRouteParameters($route_parameters);
}
$url->setRouteParameters($route_parameters);
}