You are here

public function SearchApiEtHelperTest::dataProviderGetGroupedItemsIdsByEntity in Search API Entity Translation 7.2

Return value

array

File

tests/SearchApiEtHelperTest.php, line 62
Helper class for SearchAPI ET

Class

SearchApiEtHelperTest
@file Helper class for SearchAPI ET

Code

public function dataProviderGetGroupedItemsIdsByEntity() {
  return array(
    'empty' => array(
      array(),
      array(),
    ),
    'oneitem' => array(
      array(
        '123' => array(
          '123/en',
          '123/de',
        ),
      ),
      array(
        '123/en',
        '123/de',
      ),
    ),
    'twoitems' => array(
      array(
        '123' => array(
          '123/en',
        ),
        '321' => array(
          '321/de',
        ),
      ),
      array(
        '123/en',
        '321/de',
      ),
    ),
  );
}