You are here

public function ActivityInterface::addParticipant in CRM Core 8

Same name and namespace in other branches
  1. 8.3 modules/crm_core_activity/src/ActivityInterface.php \Drupal\crm_core_activity\ActivityInterface::addParticipant()
  2. 8.2 modules/crm_core_activity/src/ActivityInterface.php \Drupal\crm_core_activity\ActivityInterface::addParticipant()

Add a participant to the activity.

Parameters

\Drupal\crm_core_contact\ContactInterface $contact: The contact to add as a participant.

Return value

$this

1 method overrides ActivityInterface::addParticipant()
Activity::addParticipant in modules/crm_core_activity/src/Entity/Activity.php
Add a participant to the activity.

File

modules/crm_core_activity/src/ActivityInterface.php, line 23

Class

ActivityInterface
Defines methods for CRM Activity entities.

Namespace

Drupal\crm_core_activity

Code

public function addParticipant(ContactInterface $contact);