You are here

public function MergeStrategyInterface::getMergeStrategyId in Conflict 8.2

Returns the merge strategy ID.

To prevent conflicts the merge strategy ID should be prefixed by the provider's name.

Return value

string The merge strategy ID.

1 call to MergeStrategyInterface::getMergeStrategyId()
MergeStrategyBase::isEnabled in src/ConflictResolution/MergeStrategyBase.php
Checks whether this merge strategy is active for the conflict resolution.
2 methods override MergeStrategyInterface::getMergeStrategyId()
MergeRemoteOnlyChanges::getMergeStrategyId in src/ConflictResolution/MergeRemoteOnlyChanges.php
Returns the merge strategy ID.
MergeRemoteStructure::getMergeStrategyId in modules/conflict_paragraphs/src/ConflictResolution/MergeRemoteStructure.php
Returns the merge strategy ID.

File

src/ConflictResolution/MergeStrategyInterface.php, line 19

Class

MergeStrategyInterface

Namespace

Drupal\conflict\ConflictResolution

Code

public function getMergeStrategyId() : string;