From eaad2cee4550c27fd30fcfa7efbe0fd393f7b06f Mon Sep 17 00:00:00 2001
From: Yasmeen Abuerrub <yabuerrub@hotmail.com>
Date: Wed, 16 Aug 2017 12:13:33 +0300
Subject: [PATCH] Issue #2902485 by yasmeensalah: Enhanced the behavior of
 [Real Time SEO] module UI in Varbase SEO for LTR and RTL

---
 .../varbase_seo/varbase_seo.module                | 15 +++++++++++++++
 .../css/vartheme-admin.theme.style-rtl.css        |  4 ++++
 2 files changed, 19 insertions(+)
 create mode 100644 modules/varbase_features/varbase_seo/varbase_seo.module

diff --git a/modules/varbase_features/varbase_seo/varbase_seo.module b/modules/varbase_features/varbase_seo/varbase_seo.module
new file mode 100644
index 00000000..cc93c961
--- /dev/null
+++ b/modules/varbase_features/varbase_seo/varbase_seo.module
@@ -0,0 +1,15 @@
+<?php
+
+/**
+ * @file
+ * Contains varbase_seo.module.
+ */
+
+use Drupal\Core\Form\FormStateInterface;
+
+/**
+ * Implements hook_form_FORM_ID_alter().
+ */
+function varbase_seo_form_alter(&$form, FormStateInterface $form_state, $form_id) {
+  $form['field_yoast_seo']['widget']['0']['yoast_seo']['#title'] = t('Real-time SEO analyzer');
+}
diff --git a/themes/vartheme_admin/css/vartheme-admin.theme.style-rtl.css b/themes/vartheme_admin/css/vartheme-admin.theme.style-rtl.css
index b67d6be6..e1c19855 100644
--- a/themes/vartheme_admin/css/vartheme-admin.theme.style-rtl.css
+++ b/themes/vartheme_admin/css/vartheme-admin.theme.style-rtl.css
@@ -66,3 +66,7 @@ body .form-wrapper .counter:before {
   margin-right: 0;
   margin-left: 4px;
 }
+
+#yoast-wrapper {
+  direction: ltr;
+}
-- 
GitLab