Skip to content

Instantly share code, notes, and snippets.

View jayakrishnanj's full-sized avatar
🎯
Focusing

Jayakrishnan Jayabal jayakrishnanj

🎯
Focusing
View GitHub Profile
@jayakrishnanj
jayakrishnanj / custom-multi-core.patch
Last active April 4, 2017 15:11
Required to use Multi core search
diff --git a/acquia_search/src/EventSubscriber/SearchSubscriber.php b/acquia_search/src/EventSubscriber/SearchSubscriber.php
index ba98e74..3e885c1 100644
--- a/acquia_search/src/EventSubscriber/SearchSubscriber.php
+++ b/acquia_search/src/EventSubscriber/SearchSubscriber.php
@@ -192,7 +192,10 @@ class SearchSubscriber extends Plugin {
// Use the default.
$identifier = \Drupal::config('acquia_connector.settings')->get('identifier');
$key = \Drupal::config('acquia_connector.settings')->get('key');
-
+ // Hack for multi cores management.
diff --git a/AcsfToolsCommands.php b/AcsfToolsCommands.php
index 4cc6a00..cdb203f 100755
--- a/AcsfToolsCommands.php
+++ b/AcsfToolsCommands.php
@@ -7,12 +7,17 @@
namespace Drush\Commands\acsf_tools;
use Drush\Drush;
+use Symfony\Component\Process\Exception\ProcessFailedException;
+use Consolidation\SiteAlias\SiteAliasManagerAwareInterface;
Step 1: composer create-project acquia/drupal-recommended-project cmsdemo
Step 2: Add Below Lines in Composer.json
"repositories": {
*
*
******* ******* *******
"acquia-cms": {
"type": "vcs",
"url": "https://github.com/acquia/acquia_cms.git",