NodeUpdate7008.php in Zircon Profile 8
File
core/modules/node/src/Plugin/migrate/process/d6/NodeUpdate7008.php
View source
<?php
namespace Drupal\node\Plugin\migrate\process\d6;
use Drupal\migrate\MigrateExecutableInterface;
use Drupal\migrate\ProcessPluginBase;
use Drupal\migrate\Row;
class NodeUpdate7008 extends ProcessPluginBase {
public function transform($value, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) {
if ($value === 'administer nodes') {
return array(
$value,
'access content overview',
);
}
return $value;
}
}
Classes
Name |
Description |
NodeUpdate7008 |
Split the 'administer nodes' permission from 'access content overview'. |