From 32cfb572c11251dc7498676d364efc2290ddb5a2 Mon Sep 17 00:00:00 2001
From: Yasmeen Abuerrub <yabuerrub@hotmail.com>
Date: Thu, 17 Aug 2017 15:46:11 +0300
Subject: [PATCH] Issue #2902878 by yasmeensalah: Added [Entityqueue Form
 Widget] module 8.1.0-beta1 and enable it

---
 composer.json    | 1 +
 drupal-org.make  | 3 +++
 varbase.info.yml | 1 +
 varbase.install  | 9 +++++++++
 4 files changed, 14 insertions(+)

diff --git a/composer.json b/composer.json
index ade3ce1e..c24fb43b 100644
--- a/composer.json
+++ b/composer.json
@@ -66,6 +66,7 @@
     "drupal/ckeditor_bidi": "2.0",
     "drupal/ace_editor": "1.0",
     "drupal/entityqueue": "1.x-dev#e17c172fe1bfdab2194b06b848cad92bc6824e49",
+    "drupal/entityqueue_form_widget": "1.0-beta1",
     "drupal/imagemagick": "1.0-alpha6",
     "drupal/imageapi_optimize": "2.0-alpha3",
     "drupal/ultimate_cron": "2.0-alpha1",
diff --git a/drupal-org.make b/drupal-org.make
index e41ed72c..e528a1b6 100644
--- a/drupal-org.make
+++ b/drupal-org.make
@@ -132,6 +132,9 @@ projects[entityqueue][download][branch] = 8.x-1.x
 ; Issue #2145441 by josebc, Xenza: Option to create Entityqueue tab on Entity pages
 projects[entityqueue][patch][] = https://www.drupal.org/files/issues/entityqueue-add_entityqueue_tab-2145441-22.patch
 
+projects[entityqueue_form_widget][type] = module
+projects[entityqueue_form_widget][version] = 1.0-beta1
+
 projects[imagemagick][type] = module
 projects[imagemagick][version] = 1.0-alpha6
 
diff --git a/varbase.info.yml b/varbase.info.yml
index d1e7aeab..61e1380a 100644
--- a/varbase.info.yml
+++ b/varbase.info.yml
@@ -72,6 +72,7 @@ dependencies:
   - anchor_link
   - views_infinite_scroll
   - entityqueue
+  - entityqueue_form_widget
   - embed
   - entity_browser
   - entity_browser_enhanced
diff --git a/varbase.install b/varbase.install
index a3bf9407..da7c9202 100644
--- a/varbase.install
+++ b/varbase.install
@@ -441,3 +441,12 @@ function varbase_update_8036() {
   $config = \Drupal::configFactory()->getEditable('config_ignore.settings');
   $config->setData($data)->save(TRUE);
 }
+
+/**
+ * Enable Entityqueue Form Widget module.
+ */
+function varbase_update_8037() {
+  if (!\Drupal::moduleHandler()->moduleExists('entityqueue_form_widget')) {
+    \Drupal::service('module_installer')->install(['entityqueue_form_widget'], FALSE);
+  }
+}
-- 
GitLab