Skip to content

Instantly share code, notes, and snippets.

View a-fro's full-sized avatar

Aaron Froehlich a-fro

  • Cornell University
  • Ithaca, NY
View GitHub Profile
<?php
namespace Drupal\menu_graft;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\menu_link_content\MenuLinkContentInterface;
/**
* Class MenuGraftHelper.
*
diff --git a/src/SamlService.php b/src/SamlService.php
index 1f22efb..98e8c03 100644
--- a/src/SamlService.php
+++ b/src/SamlService.php
@@ -129,6 +129,8 @@ class SamlService {
public function getMetadata() {
$settings = $this->getSamlAuth()->getSettings();
$metadata = $settings->getSPMetadata();
+ dump($metadata);
+ dump(simplexml_load_string($metadata));