You are here

public function GatherContentUploadTestBase::getMapping in GatherContent 8.5

Returns mapping for a GatherContent Item.

Parameters

\Cheppers\GatherContent\DataTypes\Item $gcItem: GatherContent Item object.

Return value

mixed Mapping object.

4 calls to GatherContentUploadTestBase::getMapping()
GatherContentUploadTest::testProcessGroups in gathercontent_upload/tests/src/Kernel/GatherContentUploadTest.php
Tests the field manipulation.
GatherContentUploadTest::testProcessGroupsMultilang in gathercontent_upload/tests/src/Kernel/GatherContentUploadTest.php
Tests field manipulation for multilingual content.
GatherContentUploadTest::testProcessPanesMetatag in gathercontent_upload/tests/src/Kernel/GatherContentUploadTest.php
Tests field manipulation for metatag content.
GatherContentUploadTest::testProcessPanesMetatagMultilang in gathercontent_upload/tests/src/Kernel/GatherContentUploadTest.php
Tests field manipulation for metatag content.

File

gathercontent_upload/tests/src/Kernel/GatherContentUploadTestBase.php, line 80

Class

GatherContentUploadTestBase
Class GatherContentUploadTestBase.

Namespace

Drupal\Tests\gathercontent_upload\Kernel

Code

public function getMapping(Item $gcItem) {
  return MappingLoader::load($gcItem);
}