Skip to content

Instantly share code, notes, and snippets.

View bangpound's full-sized avatar

Benjamin Doherty bangpound

View GitHub Profile
diff --git a/docroot/core/modules/inline_form_errors/src/FormErrorHandler.php b/docroot/core/modules/inline_form_errors/src/FormErrorHandler.php
index 8e0f1b8..c2dce23 100644
--- a/docroot/core/modules/inline_form_errors/src/FormErrorHandler.php
+++ b/docroot/core/modules/inline_form_errors/src/FormErrorHandler.php
@@ -87,12 +87,12 @@ protected function displayErrorMessages(array $form, FormStateInterface $form_st
if (!empty($error_links)) {
$render_array = [
[
- '#markup' => $this->formatPlural(count($error_links), '1 error has been found: ', '@count errors have been found: '),
+ '#markup' => $this->formatPlural(count($error_links), '<p>1 error has been found:</p>', '<p>@count errors have been found:</p>'),
commit c50e0e33bb2f3e47e226a18d1feb2d54ad0ee746
Author: Benjamin Doherty <[email protected]>
Date: Mon May 16 14:29:52 2016 -0500
expect company email.
diff --git a/src/BMMBundle/Form/ProfileType.php b/src/BMMBundle/Form/ProfileType.php
index 18cf747..1e7b82c 100644
--- a/src/BMMBundle/Form/ProfileType.php
+++ b/src/BMMBundle/Form/ProfileType.php
commit d6af3a3e4cd45c46ef9cd3c31d8347c59dc6c112
Author: Benjamin Doherty <[email protected]>
Date: Thu May 12 17:00:14 2016 -0500
use snake case for form element names.
diff --git a/src/BMMBundle/Form/AccountType.php b/src/BMMBundle/Form/AccountType.php
index e8971b0..c5cc2e2 100644
--- a/src/BMMBundle/Form/AccountType.php
+++ b/src/BMMBundle/Form/AccountType.php
<?php
/**
* Form alter that just disables the preview button.
*/
function caxy_form_contact_message_feedback_form_alter(&$form, FormStateInterface $form_state) {
$form['actions']['preview']['#access'] = FALSE;
}
/**
diff --git a/approved-for-production/index-no-results.html b/approved-for-production/index-no-results.html
index 73162f5..e374ac4 100644
--- a/approved-for-production/index-no-results.html
+++ b/approved-for-production/index-no-results.html
@@ -225,7 +225,7 @@
</div>
</div>
</div>
- <form class="ctools-auto-submit-full-form ctools-auto-submit-processed jquery-once-1-processed ng-pristine ng-valid" action="/frontpage" method="get" id="views-exposed-form-northwesternarts-frontpage-page" accept-charset="UTF-8"><div><div class="views-exposed-form cols4 contain-1120 grid-filter" id="program-filter">
+ <form class="ctools-auto-submit-full-form ctools-auto-submit-processed jquery-once-1-processed ng-pristine ng-valid" action="/frontpage" method="get" id="views-exposed-form-artscircle-frontpage-page" accept-charset="UTF-8"><div><div class="views-exposed-form cols4 contain-1120 grid-filter" id="program-filter">
commit dadaf7a8aded9f67b5b44d6a6e998901baea96af
Author: Benjamin Doherty <[email protected]>
Date: Thu Jan 7 10:50:56 2016 -0600
preserve higher in tree.
diff --git a/composer.json b/composer.json
index 332ab30..5dd2378 100644
--- a/composer.json
+++ b/composer.json
commit ec5b765e418aaa19d92302793b3220a30984b604
Merge: 1374a92 d1b340a
Author: Benjamin Doherty <[email protected]>
Date: Thu Jan 7 10:51:07 2016 -0600
Merge branch 'feature/CC-18-id-patched-modules' into develop
@bangpound
bangpound / drupal8-permissions.patch
Last active November 23, 2015 20:03
Disables Drupal 8's security feature that removes write permission on sites/*, sites/*/settings.php, sites/*/settings.local.php, sites/*/services.yml. You should never deploy this code. It's only for local development environments.
diff --git a/docroot/core/modules/system/system.install b/docroot/core/modules/system/system.install
index c9e8175..3841e6e 100644
--- a/docroot/core/modules/system/system.install
+++ b/docroot/core/modules/system/system.install
@@ -365,12 +365,12 @@ function system_requirements($phase) {
else {
$site_path = DrupalKernel::findSitePath(Request::createFromGlobals());
}
- if (!drupal_verify_install_file($site_path, FILE_NOT_WRITABLE, 'dir')) {
+ if (!drupal_verify_install_file($site_path, FILE_WRITABLE, 'dir')) {
name = Menu Entity
core = 7.x
description = Decorates menu link options with entity metadata.
@bangpound
bangpound / -
Created September 14, 2015 07:21
diff --git a/docroot/sites/all/themes/hickory/templates/page--node--event.tpl.php b/docroot/sites/all/themes/hickory/templates/page--node--event.tpl.php
index 7928fc8..f0f9d71 100644
--- a/docroot/sites/all/themes/hickory/templates/page--node--event.tpl.php
+++ b/docroot/sites/all/themes/hickory/templates/page--node--event.tpl.php
@@ -216,12 +216,12 @@
<a ng-if="eventBuyTixTxt" href="{{eventBuyTixLink}}" class="button register" ng-bind="eventBuyTixTxt"></a>
</section>
- <section ng-if="socialLinkFB || twitterLinkFB || googleLinkFB" class="share no-print">
+ <section class="share no-print">