summaryrefslogtreecommitdiff
path: root/modules/contextual/contextual.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-21 13:47:32 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-21 13:47:32 +0000
commitd1c017660c1b620267fdcdf0a8400fb411c2dd70 (patch)
tree8401e11dfb9b142f8507d985eb382599c5fa8099 /modules/contextual/contextual.module
parentef10abde20c8052ca4dd6eec9ca84b6f74d37a11 (diff)
downloadbrdo-d1c017660c1b620267fdcdf0a8400fb411c2dd70.tar.gz
brdo-d1c017660c1b620267fdcdf0a8400fb411c2dd70.tar.bz2
- Patch #658364 by effulgentsia: made the build/view/formatter terminology more consistent.
Diffstat (limited to 'modules/contextual/contextual.module')
-rw-r--r--modules/contextual/contextual.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/contextual/contextual.module b/modules/contextual/contextual.module
index e414eb3d6..080cf0d3a 100644
--- a/modules/contextual/contextual.module
+++ b/modules/contextual/contextual.module
@@ -59,7 +59,7 @@ function contextual_library() {
/**
* Template variable preprocessor for contextual links.
*
- * @see contextual_links_build()
+ * @see contextual_links_view()
*/
function contextual_preprocess(&$variables, $hook) {
static $hooks;
@@ -89,7 +89,7 @@ function contextual_preprocess(&$variables, $hook) {
}
if (isset($element) && is_array($element) && !empty($element['#contextual_links'])) {
- $variables['contextual_links'] = contextual_links_build($element);
+ $variables['contextual_links'] = contextual_links_view($element);
if (!empty($variables['contextual_links'])) {
$variables['classes_array'][] = 'contextual-links-region';
}
@@ -116,7 +116,7 @@ function contextual_preprocess(&$variables, $hook) {
*
* @see menu_contextual_links()
*/
-function contextual_links_build($element) {
+function contextual_links_view($element) {
static $destination;
// Retrieve contextual menu links.