You are here

protected property PartyAcquisition::$default_context in Party 7

Default context for the acquisition process.

The following key/value pairs are always available. Calling modules may add additional items specific to their process.

  • operator: Which operator to use when there are multiple $values. This can be 'AND' or 'OR'.
  • name: Optionally provide an identifying name for the process. This allows hooks to identify specific context.
  • behavior: Flags indicating what should we do in the case of no or multiple matches.

Type: array

File

includes/party.acquisition.inc, line 79
Base classes for acquisition processes.

Class

PartyAcquisition
Base class for acquiring parties.

Code

protected $default_context = array(
  'operator' => 'AND',
  'name' => NULL,
  'behavior' => NULL,
  // Set in PartyAcquisition::setContext().
  'fail' => NULL,
);