function testattrmappingconfig in Drupal OAuth & OpenID Connect Login - OAuth2 Client SSO Login 7
File
- ./
miniorange_oauth_client.module, line 333
Code
function testattrmappingconfig($nestedprefix, $resourceOwnerDetails) {
foreach ($resourceOwnerDetails as $key => $resource) {
if (is_array($resource) || is_object($resource)) {
if (!empty($nestedprefix)) {
$nestedprefix .= ".";
}
testattrmappingconfig($nestedprefix . $key, $resource);
}
else {
echo "<tr style='text-align:center;'><td style='font-weight:bold;border:2px solid #949090;padding:2%;'>";
if (!empty($nestedprefix)) {
echo $nestedprefix . ".";
}
echo $key . "</td><td style='font-weight:bold;padding:2%;border:2px solid #949090; word-wrap:break-word;'>" . $resource . "</td></tr>";
}
}
}