3 namespace Drupal\node\Plugin\migrate\process\d6;
5 use Drupal\migrate\MigrateExecutableInterface;
6 use Drupal\migrate\ProcessPluginBase;
7 use Drupal\migrate\Row;
10 * Split the 'administer nodes' permission from 'access content overview'.
12 * @MigrateProcessPlugin(
13 * id = "node_update_7008"
16 class NodeUpdate7008 extends ProcessPluginBase {
21 * Split the 'administer nodes' permission from 'access content overview'.
23 public function transform($value, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) {
24 if ($value === 'administer nodes') {
25 return [$value, 'access content overview'];