Issue #1332648 by sven.lauer, jhodgdon, xjm: Clean up API docs for contextual module.
parent
ccb1f60130
commit
e1616f4d13
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* @file
|
||||
* Stylesheet specific to right-to-left languages.
|
||||
*/
|
||||
|
||||
div.contextual-links-wrapper {
|
||||
left: 5px;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* @file
|
||||
* Stylesheet for the Contextual module.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Contextual links regions.
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue