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\webform_element\Plugin\CustomElement; | |
use Drupal\cohesion_elements\CustomElementPluginBase; | |
use Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException; | |
use Drupal\Component\Plugin\Exception\PluginNotFoundException; | |
use Drupal\Core\Entity\EntityTypeManagerInterface; | |
use Symfony\Component\DependencyInjection\ContainerInterface; |
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
{ | |
"name": "guzzlehttp/psr7", | |
"version": "1.8.5", | |
"source": { | |
"type": "git", | |
"url": "https://github.com/guzzle/psr7.git", | |
"reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268" | |
}, | |
"dist": { | |
"type": "zip", |
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
/** | |
* @file | |
* Global utilities. | |
*/ | |
var michiganDesignInit = false; // Global scoped to track attachment just once. | |
(function($, Drupal) { | |
Drupal.behaviors.michigan_design = { | |
attach: function(context, settings) { | |
if (context === document && !michiganDesignInit) { |
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
$view = new view(); | |
$view->name = 'nypl_events_digital_displays'; | |
$view->description = 'Admin listings for events on digital displays'; | |
$view->tag = 'default'; | |
$view->base_table = 'node'; | |
$view->human_name = 'Digital Displays'; | |
$view->core = 7; | |
$view->api_version = '3.0'; | |
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
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
/** | |
* Give external links target="_blank" and rel="noopener" | |
* | |
* @type {NodeListOf<HTMLElementTagNameMap[string]>} | |
*/ | |
const allAnchors = document.querySelectorAll('a'); | |
if (allAnchors.length) { | |
Array.prototype.forEach.call(allAnchors, (thisAnchor) => { | |
if (thisAnchor.href.length | |
&& thisAnchor.hostname !== window.location.hostname |
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/tablefield_cellspan/tablefield_cellspan.module b/tablefield_cellspan/tablefield_cellspan.module | |
index 8e343e1..d5b98ec 100644 | |
--- a/tablefield_cellspan/tablefield_cellspan.module | |
+++ b/tablefield_cellspan/tablefield_cellspan.module | |
@@ -21,10 +21,6 @@ function tablefield_cellspan_preprocess_table(&$variables) { | |
foreach ($row['cells'] as $col_key => $cell) { | |
- if (is_array($cell['content']) || is_object($cell['content'])) { | |
- break; |
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/token.tokens.inc b/token.tokens.inc | |
index 3d65d6e..d562559 100644 | |
--- a/token.tokens.inc | |
+++ b/token.tokens.inc | |
@@ -9,83 +9,7 @@ | |
* Implements hook_token_info_alter(). | |
*/ | |
function token_token_info_alter(&$info) { | |
- // Force 'date' type tokens to require input and add a 'current-date' type. | |
- // @todo Remove when http://drupal.org/node/943028 is fixed. |
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
/** | |
* @file | |
* JavaScript for this theme. | |
*/ | |
/** | |
* Empty function the the YouTube iframe API requires. | |
*/ | |
var youtubePlayers = []; | |
function onYouTubeIframeAPIReady() { |
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
From 6b72c5388c6457f285cde93edca508187fb40253 Mon Sep 17 00:00:00 2001 | |
From: Brad Czerniak <[email protected]> | |
Date: Thu, 20 May 2021 14:51:09 -0400 | |
Subject: [PATCH] RENO-2169 Include NYPL plugins in ckeditor | |
--- | |
plugins/catalogimage/dialogs/catalogimage.js | 90 ++++++++++ | |
plugins/catalogimage/images/catalogimage.png | Bin 0 -> 471 bytes | |
plugins/catalogimage/plugin.js | 136 +++++++++++++++ | |
plugins/cataloglink/icons/cataloglink.png | Bin 0 -> 1150 bytes |
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/includes/plugins.inc b/includes/plugins.inc | |
index 8308e01c..5e62153b 100644 | |
--- a/includes/plugins.inc | |
+++ b/includes/plugins.inc | |
@@ -6,7 +6,7 @@ | |
*/ | |
// @todo Remove this once update.php can use the registry. | |
-views_include('base'); | |
+//views_include('base'); |
NewerOlder