Commit ed03c4bb authored by webchick's avatar webchick
Browse files

Issue #1332648 by sven.lauer, jhodgdon, xjm: Clean up API docs for contextual module.

parent 554ea9ec
/**
* @file
* Stylesheet specific to right-to-left languages.
*/
div.contextual-links-wrapper {
left: 5px;
......
/**
* @file
* Stylesheet for the Contextual module.
*/
/**
* Contextual links regions.
......
/**
* @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) {
......
......@@ -77,7 +77,7 @@ function contextual_element_info() {
}
/**
* Template variable preprocessor for contextual links.
* Implements hook_preprocess().
*
* @see contextual_pre_render_links()
*/
......@@ -114,7 +114,7 @@ function contextual_preprocess(&$variables, $hook) {
}
/**
* Build a renderable array for contextual links.
* Pre-render callback: Builds a renderable array for contextual links.
*
* @param $element
* A renderable array containing a #contextual_links property, which is a
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment