public function Common::getTargetInfo in Feeds Paragraphs 8
@inheritdoc
6 calls to Common::getTargetInfo()
- TestMapper::testGetInfo in tests/
src/ Unit/ TestMapper.php - @covers ::getInfo
- TestMapper::testSetFieldsInCommon in tests/
src/ Unit/ TestMapper.php - @covers ::setFieldsInCommon
- TestRevisionHandler::testCleanUp in tests/
src/ Unit/ TestRevisionHandler.php - @covers ::cleanUp
- TestRevisionHandler::testHandle in tests/
src/ Unit/ TestRevisionHandler.php - @covers ::handle
- TestRevisionHandler::testRemoveUnused in tests/
src/ Unit/ TestRevisionHandler.php - @covers ::removeUnused
File
- tests/
src/ Unit/ Helpers/ Common.php, line 14
Class
Namespace
Drupal\Tests\feeds_para_mapper\Unit\HelpersCode
public function getTargetInfo() {
$targetInfo = new TargetInfo();
$targetInfo->type = $this
->getType();
$targetInfo->in_common = array();
$targetInfo->path = array();
$targetInfo->paragraphs = array();
$targetInfo->max_values = 1;
$targetInfo->has_settings = true;
$targetInfo->plugin = array(
"class" => $this
->getClass(),
"id" => $this
->getType(),
);
return $targetInfo;
}