From f05a668a42ac3d6e3af49e95074d4131322f79e2 Mon Sep 17 00:00:00 2001 From: Greg Garvey Date: Wed, 19 Apr 2017 14:55:46 -0700 Subject: [PATCH] Added install file --- stanford_soe_regions.install | 49 ++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 stanford_soe_regions.install diff --git a/stanford_soe_regions.install b/stanford_soe_regions.install new file mode 100644 index 0000000..5a3da9a --- /dev/null +++ b/stanford_soe_regions.install @@ -0,0 +1,49 @@ +disabled = FALSE; /* Edit this to true to make a default context disabled initially */ + $context->api_version = 3; + $context->name = 'full_width_super_hero'; + $context->description = 'Context for full width super hero'; + $context->tag = 'Full Width Super Hero'; + $context->conditions = array(); + $context->reactions = array(); + $context->condition_mode = 0; + context_save($context); +} + +/** + * Implements hook_enable(). + */ +function stanford_soe_regions_enable() { + /* + *mymodule_cache_rebuild(); + */ + /* Your code here */ +} + +/** + * Implements hook_disable(). + */ +function stanford_soe_regions_disable() { + /* + *mymodule_cache_rebuild(); + */ + /* Your code here */ +} + +/** + * Implements hook_uninstall(). + */ +function stanford_soe_regions_uninstall() { + $context_fwsh = context_load('full_width_super_hero'); + context_delete($context_fwsh); +}