You are here

protected function PartyDataBase::preDetach in Party 8.2

Overload any pre detach logic

$delta can be taken by reference, allowing you to make alterations to the detach behaviour.

Parameters

int $delta:

See also

PartyData::detachEntity()

1 call to PartyDataBase::preDetach()
PartyDataBase::detachEntityByDelta in lib/Drupal/party/Plugin/PartyDataBase.php
Detatch an entity by delta

File

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

Class

PartyDataBase
Class PartyDataBase

Namespace

Drupal\party\Plugin

Code

protected function preDetach($delta) {
}