You are here

function defaultcontent_context_registry in Default Content 7.2

Same name and namespace in other branches
  1. 7 defaultcontent.module \defaultcontent_context_registry()

File

./defaultcontent.module, line 490
Module file for the Default content module which allow export and import of default content in a Drupal site.

Code

function defaultcontent_context_registry() {
  return array(
    'conditions' => array(
      'defaultcontent' => array(
        'title' => t('Machine Name'),
        'description' => 'Set Context based on a node\'s machine name. Provide one machine name per line.',
        'plugin' => 'defaultcontent_condition',
      ),
    ),
  );
}