summaryrefslogtreecommitdiff
path: root/modules/contextual
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-11-24 13:31:28 -0800
committerwebchick <webchick@24967.no-reply.drupal.org>2011-11-24 13:31:28 -0800
commite1616f4d135f1bccc0de98bcb11bbb88a6e6932d (patch)
tree293941b9fb185cd81caed4b8d224730e183313fe /modules/contextual
parentccb1f601306cd92cf33a490b2b47bfa1eb9f1550 (diff)
downloadbrdo-e1616f4d135f1bccc0de98bcb11bbb88a6e6932d.tar.gz
brdo-e1616f4d135f1bccc0de98bcb11bbb88a6e6932d.tar.bz2
Issue #1332648 by sven.lauer, jhodgdon, xjm: Clean up API docs for contextual module.
Diffstat (limited to 'modules/contextual')
-rw-r--r--modules/contextual/contextual-rtl.css4
-rw-r--r--modules/contextual/contextual.css4
-rw-r--r--modules/contextual/contextual.js7
-rw-r--r--modules/contextual/contextual.module3
4 files changed, 16 insertions, 2 deletions
diff --git a/modules/contextual/contextual-rtl.css b/modules/contextual/contextual-rtl.css
index 96ffef5cc..aecbee043 100644
--- a/modules/contextual/contextual-rtl.css
+++ b/modules/contextual/contextual-rtl.css
@@ -1,3 +1,7 @@
+/**
+ * @file
+ * Stylesheet specific to right-to-left languages.
+ */
div.contextual-links-wrapper {
left: 5px;
diff --git a/modules/contextual/contextual.css b/modules/contextual/contextual.css
index fd715147f..3829328c7 100644
--- a/modules/contextual/contextual.css
+++ b/modules/contextual/contextual.css
@@ -1,3 +1,7 @@
+/**
+ * @file
+ * Stylesheet for the Contextual module.
+ */
/**
* Contextual links regions.
diff --git a/modules/contextual/contextual.js b/modules/contextual/contextual.js
index ee5b7a054..ebe509137 100644
--- a/modules/contextual/contextual.js
+++ b/modules/contextual/contextual.js
@@ -1,9 +1,14 @@
+/**
+ * @file
+ * Attaches behaviors for the Contextual module.
+ */
+
(function ($) {
Drupal.contextualLinks = Drupal.contextualLinks || {};
/**
- * Attach outline behavior for regions associated with contextual links.
+ * Attaches outline behavior for regions associated with contextual links.
*/
Drupal.behaviors.contextualLinks = {
attach: function (context) {
diff --git a/modules/contextual/contextual.module b/modules/contextual/contextual.module
index 2716ba2f7..9514b7123 100644
--- a/modules/contextual/contextual.module
+++ b/modules/contextual/contextual.module
@@ -77,7 +77,7 @@ function contextual_element_info() {
}
/**
- * Template variable preprocessor for contextual links.
+ * Implements hook_preprocess().
*
* @see contextual_pre_render_links()
*/
@@ -132,6 +132,7 @@ function contextual_preprocess(&$variables, $hook) {
* A renderable array representing contextual links.
*
* @see menu_contextual_links()
+ * @see contextual_element_info()
*/
function contextual_pre_render_links($element) {
// Retrieve contextual menu links.