diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-11-24 13:31:28 -0800 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-11-24 13:31:28 -0800 |
commit | e1616f4d135f1bccc0de98bcb11bbb88a6e6932d (patch) | |
tree | 293941b9fb185cd81caed4b8d224730e183313fe /modules/contextual | |
parent | ccb1f601306cd92cf33a490b2b47bfa1eb9f1550 (diff) | |
download | brdo-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.css | 4 | ||||
-rw-r--r-- | modules/contextual/contextual.css | 4 | ||||
-rw-r--r-- | modules/contextual/contextual.js | 7 | ||||
-rw-r--r-- | modules/contextual/contextual.module | 3 |
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. |