public function ConflictDiscoveryBase::discoverConflicts in Conflict 8.2
Discovers conflicts on entities.
Parameters
\Drupal\conflict\Event\EntityConflictDiscoveryEvent: The entity conflict discovery event.
File
- src/
ConflictDiscovery/ ConflictDiscoveryBase.php, line 17
Class
Namespace
Drupal\conflict\ConflictDiscoveryCode
public function discoverConflicts(EntityConflictDiscoveryEvent $event) {
$local_entity = $event
->getLocalEntity();
if ($local_entity instanceof ContentEntityInterface) {
$this
->discoverConflictsContentEntity($event);
}
}