From 654d8546406685f4c2899a766b244825450257f6 Mon Sep 17 00:00:00 2001
From: Rajab Natshah <rajabn@gmail.com>
Date: Wed, 10 May 2017 09:49:38 +0300
Subject: [PATCH] Issue #2877214: Added [Link Attributes widget] module

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

diff --git a/composer.json b/composer.json
index fe7ca328..c1acb590 100644
--- a/composer.json
+++ b/composer.json
@@ -263,6 +263,7 @@
     "drupal/mail_edit": "1.x-dev#bcd0041830d8581b36e6211f0c8eabd8caf9652b",
     "drupal/taxonomy_access_fix": "2.1",
     "drupal/better_exposed_filters": "3.0-alpha2",
+    "drupal/link_attributes": "1.0",
     "drupal/libraries": "3.x-dev#061ead081c92a6209b09eaf23b4e3103f360946e",
     "drupal/layout_plugin": "1.0-alpha23",
     "drupal/xmlsitemap": "1.0-alpha2",
diff --git a/drupal-org.make b/drupal-org.make
index 15f3ff8f..98c61bcc 100644
--- a/drupal-org.make
+++ b/drupal-org.make
@@ -199,6 +199,9 @@ projects[taxonomy_access_fix][version] = 2.1
 projects[better_exposed_filters][type] = module
 projects[better_exposed_filters][version] = 3.0-alpha2
 
+projects[link_attributes][type] = module
+projects[link_attributes][version] = 1.0
+
 ;;;;;;;;;;;;;;;;;;;;;
 ;; Contrib modules for Varbase SEO.
 ;;;;;;;;;;;;;;;;;;;;;
diff --git a/varbase.info.yml b/varbase.info.yml
index b0569549..683d3f72 100644
--- a/varbase.info.yml
+++ b/varbase.info.yml
@@ -103,6 +103,7 @@ dependencies:
   - maxlength
   - menu_position
   - better_exposed_filters
+  - link_attributes
 
 themes:
   # Contrib themes.
diff --git a/varbase.install b/varbase.install
index 49a8c722..97434525 100644
--- a/varbase.install
+++ b/varbase.install
@@ -272,4 +272,9 @@ function varbase_update_8003() {
     \Drupal::service('module_installer')->install(['better_exposed_filters'], FALSE);
   }
 
+  // Enable Link Attributes widget module.
+  if (!\Drupal::moduleHandler()->moduleExists('link_attributes')) {
+    \Drupal::service('module_installer')->install(['link_attributes'], FALSE);
+  }
+
 }
-- 
GitLab