You are here

public function JoinIntoHouseholdAction::execute in CRM Core 8

Same name and namespace in other branches
  1. 8.3 modules/crm_core_contact/src/Plugin/Action/JoinIntoHouseholdAction.php \Drupal\crm_core_contact\Plugin\Action\JoinIntoHouseholdAction::execute()
  2. 8.2 modules/crm_core_contact/src/Plugin/Action/JoinIntoHouseholdAction.php \Drupal\crm_core_contact\Plugin\Action\JoinIntoHouseholdAction::execute()

Executes the plugin.

Overrides ExecutableInterface::execute

File

modules/crm_core_contact/src/Plugin/Action/JoinIntoHouseholdAction.php, line 113

Class

JoinIntoHouseholdAction
Merges 2 or more contacts into household contact.

Namespace

Drupal\crm_core_contact\Plugin\Action

Code

public function execute($object = NULL) {
  $this
    ->executeMultiple([
    $object,
  ]);
}