diff --git a/tweetable_text.install b/tweetable_text.install
new file mode 100644
index 0000000..f4e5fc9
--- /dev/null
+++ b/tweetable_text.install
@@ -0,0 +1,38 @@
+<?php
+
+/**
+ * @file
+ * Contains update functions for Color Button module.
+ */
+
+/**
+ * Implements hook_requirements().
+ */
+function tweetable_text_requirements($phase) {
+  $requirements = [];
+
+  $path = 'libraries/tweetable_text/plugin.js';
+  if (\Drupal::moduleHandler()->moduleExists('libraries')) {
+    $path = libraries_get_path('tweetable_text') . '/plugin.js';
+  }
+  $path = DRUPAL_ROOT . '/' . $path;
+
+  if (!file_exists($path)) {
+    $requirements['tweetable_text'] = [
+      'title' => t('tweetable_text library is missing'),
+      'value' => t('Plugin not detected'),
+      'severity' => REQUIREMENT_ERROR,
+      'description' => t('tweetable_text requires the plugin.js library.
+       Download the plugin from http://ckeditor.com/addon/tweetabletext, and place it in the libraries folder 
+       (/libraries/tweetable_text)'),
+    ];
+  }
+  else {
+    $requirements['tweetable_text'] = [
+      'title' => t('CKEditor tweetable_text'),
+      'value' => t('Plugin detected'),
+      'severity' => REQUIREMENT_OK,
+    ];
+  }
+  return $requirements;
+}
