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
Namespace
Drupal\conflict\EventCode
public function addConflict($property, $type) {
$this->conflicts[$property] = $type;
}