You are here

class StateFlowTestOverride in State Machine 7.2

Hierarchy

Expanded class hierarchy of StateFlowTestOverride

File

modules/state_flow_sps/lib/Drupal/state_flow_sps/Test/StateFlowTestOverride.php, line 6

Namespace

Drupal\state_flow_sps\Test
View source
class StateFlowTestOverride extends StateFlowOverride {

  /**
   * Override the getOverrides function to do nothing but
   * call processOverrides so we can test it.
   */
  public function getOverrides() {
    return $this
      ->processOverrides();
  }

  /**
   * Provide an easy way to set data for processOverrides to deal with
   */
  public function setResults($data) {
    $this->results = $data;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
StateFlowOverride::$results protected property
StateFlowOverride::processOverrides protected function
StateFlowTestOverride::getOverrides public function Override the getOverrides function to do nothing but call processOverrides so we can test it. Overrides StateFlowOverride::getOverrides
StateFlowTestOverride::setResults public function Provide an easy way to set data for processOverrides to deal with