buildExpectedDynamicConfig example


    ];
    return [
      'un' => [
        ['language_list' => 'un'],
        $un_expected_output,
      ],
      'all' => [
        ['language_list' => 'all'],
        [
          'language' => [
            'textPartLanguage' => static::buildExpectedDynamicConfig(LanguageManager::getStandardLanguageList()),
          ],
        ],
      ],
      'default configuration' => [
        [],
        $un_expected_output,
      ],
    ];
  }

  /** * Builds the expected dynamic configuration output given a language list. * * @param array $language_list * The languages list from the language manager. * * @return array * The expected output of the dynamic plugin configuration. */
Home | Imprint | This part of the site doesn't use cookies.