/** * Argument convertion: <DRUPAL> --> <LC> * * @param string $path Portal path * @param array $args Druapl URL arguments OPTIONAL * @param array $pageArgs LC-specific URL arguments OPTIONAL * * @return array */ public static function getPortalLCArgs($path, array $args = array(), array $pageArgs = array()) { $result = parent::getPortalLCArgs($path, $args, $pageArgs); if (static::isPortal() && !empty($args[1])) { $result['profile_id'] = static::getLCProfileId($args[1]); } return $result; }