This file contains hidden or 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 | |
php -d memory_limit=-1 /usr/local/bin/composer |
This file contains hidden or 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/ga_node_reports.pages.inc b/ga_node_reports.pages.inc | |
index f0eb797..8bc4426 100644 | |
--- a/ga_node_reports.pages.inc | |
+++ b/ga_node_reports.pages.inc | |
@@ -39,6 +39,13 @@ function ga_node_reports_view_node_report($node) { | |
// Chart details building. | |
$chart_date = $chart_page = $chart_session = array(); | |
+ // Sum up pageviews and sessions. | |
+ $sum = array('pageviews' => 0, 'sessions' => 0); |
This file contains hidden or 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 | |
Drupal::config('node.type.' . $node->bundle())->get(); |
This file contains hidden or 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/modules/mailchimp_campaign/mailchimp_campaign.module b/modules/mailchimp_campaign/mailchimp_campaign.module | |
index c781162..2eda7c7 100644 | |
--- a/modules/mailchimp_campaign/mailchimp_campaign.module | |
+++ b/modules/mailchimp_campaign/mailchimp_campaign.module | |
@@ -274,7 +274,7 @@ function mailchimp_campaign_list_templates($reset = FALSE) { | |
if ($chosen) { | |
$all_templates[$type] = array(); | |
- $response = $mc_templates->getTemplates(array('type' => $type)); | |
+ $response = $mc_templates->getTemplates(array('type' => $type, 'count' => 50)); |
This file contains hidden or 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/paragraphs_edit.module b/paragraphs_edit.module | |
index e64656d..6aaeedf 100644 | |
--- a/paragraphs_edit.module | |
+++ b/paragraphs_edit.module | |
@@ -54,6 +54,15 @@ function paragraphs_edit_paragraph_view_alter(array &$build, ParagraphInterface | |
'metadata' => ['changed' => $root_parent->getChangedTime()], | |
]; | |
} | |
+ else { | |
+ $build['#contextual_links']['paragraph'] = [ |
This file contains hidden or 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 | |
/** | |
* Implements hook_editor_js_settings_alter(). | |
*/ | |
function mymodule_misc_editor_js_settings_alter(array &$settings) { | |
$settings['editor']['formats'][$my_text_format]['editorSettings']['autoGrow_minHeight'] = '50'; | |
} |
This file contains hidden or 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/openx.module b/openx.module | |
index e2932e8..cb696d3 100644 | |
--- a/openx.module | |
+++ b/openx.module | |
@@ -19,7 +19,8 @@ function openx_block_info() { | |
foreach ($zones as $index => $zone) { | |
if ($zone['id']) { | |
$blocks[$index] = array( | |
- 'info' => t('OpenX Zone !id (!name)', array('!id' => $zone['id'], '!name' => (empty($zone['name']) ? t('untitled') : $zone['name']))), | |
+ 'info' => t('OpenX Zone !id (!name)', array('!id' => $zone['id'], '!name' => (empty($zone['name']) ? t('untitled') : $zone['name']))), |
This file contains hidden or 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
<script> | |
var gaProperty = 'UA-123456789-1'; | |
var disableStr = 'ga-disable-' + gaProperty; | |
if (document.cookie.indexOf(disableStr + '=true') > -1) { | |
window[disableStr] = true; | |
} | |
function gaOptout() { | |
document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/'; | |
window[disableStr] = true; | |
} |
This file contains hidden or 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
SELECT GROUP_CONCAT(nr.status) as concat, n.* FROM node AS n INNER JOIN node_revision AS nr ON nr.nid = n.nid GROUP BY nr.nid HAVING n.status = 0 AND FIND_IN_SET('1', concat); |
This file contains hidden or 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/Plugin/Field/FieldFormatter/FileImageFormatter.php b/src/Plugin/Field/FieldFormatter/FileImageFormatter.php | |
index 8b06009..1f719f2 100644 | |
--- a/src/Plugin/Field/FieldFormatter/FileImageFormatter.php | |
+++ b/src/Plugin/Field/FieldFormatter/FileImageFormatter.php | |
@@ -20,7 +20,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; | |
* id = "file_image", | |
* label = @Translation("File Image"), | |
* field_types = { | |
- * "uri" | |
+ * "file_uri" |