This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Controller/ParagraphsPreviewController.php b/src/Controller/ParagraphsPreviewController.php | |
index 3fe50c4..924c75f 100644 | |
--- a/src/Controller/ParagraphsPreviewController.php | |
+++ b/src/Controller/ParagraphsPreviewController.php | |
@@ -176,6 +176,13 @@ class ParagraphsPreviewController extends ControllerBase { | |
// EntityViewBuilder::viewFieldItem(). | |
$elements = $parent_clone->{$parent_field_name}->view($parent_view_mode); | |
+ // When layout builder is enabled for an entity, viewBuilder->view_field() | |
+ // returns and empty array. Using default display options instead returns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* smartphones, touchscreens */ | |
@media (hover: none) and (pointer: coarse) { | |
/* ... */ | |
} | |
/* stylus-based screens */ | |
@media (hover: none) and (pointer: fine) { | |
/* ... */ | |
} | |
/* Nintendo Wii controller, Microsoft Kinect */ | |
@media (hover: hover) and (pointer: coarse) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Drupal\ilr_registrations\EventSubscriber; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
use Symfony\Component\EventDispatcher\Event; | |
use Drupal\commerce_product\Event\ProductEvents; | |
use Drupal\commerce_product\Event\FilterVariationsEvent; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
ilr_registrations.default: | |
class: Drupal\ilr_registrations\EventSubscriber\ClassFilterSubscriber | |
arguments: [] | |
tags: | |
- { name: event_subscriber } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
drush si config_installer config_installer_sync_configure_form.sync_directory=../config/sync --account-pass=admin --account-name="admin" -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @todo Refactor to use a dynamic RouteSubscriber | |
field_layout.change_layout: | |
path: 'admin/structure/types/manage/change-layout/{entity_type}/{bundle}/{display_mode}/{new_layout}' | |
defaults: | |
_form: '\Drupal\field_layout\Form\FieldLayoutEntityLayoutEditForm' | |
_title: 'Change layout' | |
requirements: | |
_permission: 'admin fields' |
NewerOlder