module.config.php #1

  • //
  • guest/
  • matt_attaway/
  • Swarm_Demo_Extensions/
  • GoodbyeCruelWorld/
  • config/
  • module.config.php
  • View
  • Commits
  • Open Download .zip Download (420 B)
<?php
/**
 * Perforce Swarm
 *
 * @copyright   2013 Perforce Software. All rights reserved
 * @license     Please see LICENSE.txt in top-level folder of this distribution.
 * @version     2013.1.MAIN-TEST_ONLY/597594
 */

// this module just modifies activity and has no views of its own, there is not much to do here
// if you wanted users to be able to configure the module, you'd have variables here
return array(
);
# Change User Description Committed
#1 8302 Matt Attaway Adding a couple sample Swarm extensions.

HelloWorld shows how a module can intercept and modify events in the activity stream before
they are published.

GoodbyCruelWorld prevents events matching certain criteria from being published to the activity
stream.