public function TermMergerDummy::mergeIntoTerm in Term Merge 8
Merges one or more terms into an existing term.
Parameters
array $termsToMerge: The terms to merge.
\Drupal\taxonomy\TermInterface $targetTerm: The term to merge them into.
Overrides TermMergerInterface::mergeIntoTerm
1 call to TermMergerDummy::mergeIntoTerm()
- TermMergerSpy::mergeIntoTerm in tests/
src/ Kernel/ TestDoubles/ TermMergerSpy.php - Merges one or more terms into an existing term.
1 method overrides TermMergerDummy::mergeIntoTerm()
- TermMergerSpy::mergeIntoTerm in tests/
src/ Kernel/ TestDoubles/ TermMergerSpy.php - Merges one or more terms into an existing term.
File
- tests/
src/ Kernel/ TestDoubles/ TermMergerDummy.php, line 24
Class
- TermMergerDummy
- Dummy TermMerger class used for testing purposes.
Namespace
Drupal\Tests\term_merge\Kernel\TestDoublesCode
public function mergeIntoTerm(array $termsToMerge, TermInterface $targetTerm) {
// Deliberately left empty because dummies don't do anything.
}