-$Id$
Context 3.x API
---------------
-$Id$
Context 3.x for Drupal 6.x
--------------------------
<?php
-// $Id$
/**
* @file
-; $Id$
name = Context
description = "Provide modules with a cache that lasts for a single page request."
package = Context
<?php
-// $Id$
require('context.core.inc');
<?php
-// $Id$
/**
* Context registry.
-; $Id$
name = Context Contrib
description = "Provides integration with Context on behalf of the following contrib modules: Nodequeue, Views, CSS Injector."
dependencies[] = context
<?php
-// $Id$
/**
* Implementation of hook_context_conditions().
-$Id$
Context layouts
---------------
-; $Id$
name = "Context layouts"
description = "Allow theme layer to provide multiple region layouts and integrate with context."
dependencies[] = "context"
<?php
-// $Id$
/**
* Implementation of hook_help().
<?php
-// $Id$
class context_layouts_reaction_block extends context_reaction_block {
/**
-// $Id$
Drupal.behaviors.contextLayoutsReactionBlock = function(context) {
// ContextBlockForm: Init.
-// $Id$
context_ui DRUPAL-6--1
----------------------
- #392944: Increasing weight range for blocks.
-$Id$
context_ui for Drupal 6.x
<?php
-// $Id$
/**
* Page callback for context_ui admin landing page.
-; $Id$
name = Context UI
description = "Provides a simple UI for settings up a site structure using Context."
dependencies[] = context
<?php
-// $Id$
/**
* Implementation of hook_install().
-// $Id$
if (typeof(Drupal) == "undefined" || !Drupal.context_ui) {
Drupal.context_ui = {};
<?php
-// $Id$
/**
* Implementation of hook_theme().
<?php
-// $Id$
$plugin = array(
'schema' => 'context',
<?php
-// $Id$
/**
* CTools export UI extending class. Slightly customized for Context.
-; $Id$
[advanced help settings]
line break = TRUE
-<!-- $Id$ -->
<p>The <strong>context type</strong> describes how this context is stored; Context UI is capable of having contexts entirely in code that are not in the database. This allows modules to easily ship with Views built in, and it allows you to create a module to store your contexts for easy deployment between development and production servers.</p>
<dl>
-// $Id$
/**
* Generic pageEditor plugin. Allows an editor DOM object to trigger
<?php
-// $Id$
/**
* Functional Test for Context UI
<?php
-// $Id$
/**
* Base class for a context condition.
<?php
-// $Id$
/**
* Expose book properties as a context condition.
<?php
-// $Id$
/**
* Set the context on the basis of the node type of page's book root.
<?php
-// $Id$
/**
* Expose active contexts as a context condition.
<?php
-// $Id$
/**
* Expose current language as a context condition.
<?php
-// $Id$
/**
* Expose menu items as a context condition.
<?php
-// $Id$
/**
* Trigger context on node view only.
<?php
-// $Id$
/**
* Expose node taxonomy terms as a context condition.
<?php
-// $Id$
/**
* Expose paths as a context condition.
<?php
-// $Id$
/**
* Simple sitewide context, always present.
<?php
-// $Id$
/**
* Expose current user role as a context condition.
<?php
-// $Id$
class context_condition_views extends context_condition {
<?php
-// $Id$
/**
* Base class for a context reaction.
<?php
-// $Id$
/**
* Expose blocks as context reactions.
-// $Id$
(function($){
Drupal.behaviors.contextReactionBlock = {attach: function(context) {
$('form.context-editor:not(.context-block-processed)')
<?php
-// $Id$
/**
* Set the breadcrumb using a context reaction.
<?php
-// $Id$
class context_reaction_css_injector extends context_reaction {
<?php
-// $Id$
/**
* Output context debug information.
<?php
-// $Id$
/**
* Expose menu items as context reactions.
<?php
-// $Id$
/**
* Expose themes as context reactions.
<?php
-// $Id$
class ContextConditionUserTest extends DrupalWebTestCase {
protected $profile = 'testing';
<?php
-// $Id$
class ContextReactionBlockTest extends DrupalWebTestCase {
protected $profile = 'testing';
<?php
-// $Id$
class ContextUnitTestCase extends DrupalWebTestCase {
/**
<?php
-// $Id$
/**
* Block form.