protected function PartyDefaultDataSet::preAttach in Party 7
Same name and namespace in other branches
- 8.2 includes/party.data.inc \PartyDefaultDataSet::preAttach()
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 PartyDefaultDataSet::preAttach()
- PartyDefaultDataSet::attachEntity in includes/
party.data.inc - Attach an entity to the party
File
- includes/
party.data.inc, line 677 - Provides the default class for managing party - Attached entity relationships.
Class
- PartyDefaultDataSet
- Class PartyDefaultDataSet
Code
protected function preAttach($entity, &$method, &$delta) {
}