provision.context.platform.inc 602 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?php
// $Id$

/**
 * @file Provision named context platform class.
 */


/**
 * Class for the platform context.
 */
class provisionContext_platform extends provisionContext {
  public $parent_key = 'server';

  static function option_documentation() {
    return array(
      '--root' => 'platform: path to a Drupal installation',
      '--server' => 'drush backend server; default @server_master',
      '--web_server' => 'web server hosting the platform; default @server_master',
    );
  }

23
  function init_platform() {
24 25 26 27
    $this->setProperty('root');
    $this->setProperty('makefile', '');
  }
}