mcsid); $view = $views[$viewname]; $view->display['default']->display_options['arguments'] = array( 'level' => array( 'id' => 'level', 'field' => 'level', 'table' => $viewname, 'relationship' => 'none', 'default_action' => 'ignore', ), ); $view->display['default']->display_options['access'] = array( 'type' => 'perm', 'perm' => MIGRATE_ACCESS_BASIC, ); // Not interested in displaying these unset($view->display['default']->display_options['fields']['mceid']); unset($view->display['default']->display_options['fields']['level']); $view->display['default']->display_options['title'] = t('Migration messages for content set !view', array('!view' => $viewname)); $view->display['default']->display_options['header'] = t('Listing of messages reported when importing this content set.'); $views[$viewname] = $view; } }