You are here

protected function PartyDataBase::preAttach in Party 8.2

Overload any pre attach logic

Both $method and $delta can be taken by reference, allowing you to make alterations to the attach behaviour.

Parameters

object $entity:

string $method:

int $delta:

See also

PartyData::attachEntity()

1 call to PartyDataBase::preAttach()
PartyDataBase::attachEntity in lib/Drupal/party/Plugin/PartyDataBase.php
Attach an entity to the party

File

lib/Drupal/party/Plugin/PartyDataBase.php, line 458
Contains \Drupal\party\Plugin\PartyDataBase.

Class

PartyDataBase
Class PartyDataBase

Namespace

Drupal\party\Plugin

Code

protected function preAttach($entity, &$method, &$delta) {
}