You are here

protected function OgMigrateGroup::generateMachineName in Organic groups 7.2

Construct the machine name from the bundle.

Overrides MigrationBase::generateMachineName

File

includes/migrate/7000/og_group.inc, line 50
Upgrade nodes that are groups, by settings the correct field value.

Class

OgMigrateGroup
@file Upgrade nodes that are groups, by settings the correct field value.

Code

protected function generateMachineName($class_name = NULL) {
  return drupal_strtolower('OgMigrateGroup' . ucfirst($this->arguments['bundle']));
}