You are here

public function EntityConflictDiscoveryEvent::addConflict in Conflict 8.2

Adds a conflicting property.

Parameters

string $property: The property name.

string $type: The conflict type.

File

src/Event/EntityConflictDiscoveryEvent.php, line 109

Class

EntityConflictDiscoveryEvent

Namespace

Drupal\conflict\Event

Code

public function addConflict($property, $type) {
  $this->conflicts[$property] = $type;
}